Installed and set up GeoDirectory plugin and It was working fine. I updated the geodirectory plugins to the latest version. Now I an getting a blank page while edit a post. All other admin side and front end are working fine. When I edit a post from admin side. It is showing blank page.
Following error is showing in that page.
Fatal error: Uncaught Error: Call to a member function get_queried_object_id() on null in /var/www/vhosts/server97.lcube-server.de/httpdocs/live/jobs/wp-includes/query.php:60 Stack trace: #0 /var/www/vhosts/server97.lcube-server.de/httpdocs/live/jobs/wp-content/plugins/geodirectory/includes/class-geodir-compatibility.php(254): get_queried_object_id() #1 /var/www/vhosts/server97.lcube-server.de/httpdocs/live/jobs/wp-includes/class-wp-hook.php(286): GeoDir_Compatibility::dynamically_add_post_meta(NULL, 2928, ‘_form_id’, true) #2 /var/www/vhosts/server97.lcube-server.de/httpdocs/live/jobs/wp-includes/plugin.php(208): WP_Hook->apply_filters(NULL, Array) #3 /var/www/vhosts/server97.lcube-server.de/httpdocs/live/jobs/wp-includes/meta.php(511): apply_filters(‘get_post_metada…’, NULL, 2928, ‘_form_id’, true) #4 /var/www/vhosts/server97.lcube-server.de/httpdocs/live/jobs/wp-includes/post.php(2032): get_metadata(‘post’, 2928, ‘_form_id’, true) #5 /var/www/vhosts/server97.lcube-server.de/httpdocs/live/jobs/wp-content/plugins/ninja in /var/www/vhosts/server97.lcube-server.de/httpdocs/live/jobs/wp-includes/query.php on line 60
Error screenshot attached.
Please help me to fix this issue.
Thanks