WordPress > Error | 500 Error on post-new.php
-
Hey there,
I have activated YOAST SEO on my site. And when I try to add new post, It is showing
WordPress > Error
: The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.In firebug, post-new.php is having status 500. Then I deactivated YOAST SEO and everything seems to be working nice.
Then I have check my debug.log and found this:
PHP Fatal error: Uncaught TypeError: Argument 2 passed to WPSEO_Link_Watcher::save_post() must be an instance of WP_Post, null given, called in /home/datingwebsiterev/public_html/wp-includes/class-wp-hook.php on line 288 and defined in /home/datingwebsiterev/public_html/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php:45 Stack trace: #0 /home/datingwebsiterev/public_html/wp-includes/class-wp-hook.php(288): WPSEO_Link_Watcher->save_post(0, NULL) #1 /home/datingwebsiterev/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /home/datingwebsiterev/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /home/datingwebsiterev/public_html/wp-includes/post.php(3951): do_action('save_post', 0, NULL, false) #4 /home/datingwebsiterev/public_html/wp-admin/includes/post.php(666): wp_insert_post(Array) #5 /home/datingwebsiterev/public_html/wp-admin/post-new.php(66): get_default_post_to_edit('post', true) #6 {main} thrown in /home/datingwebsiterev/public_html/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php on line 45
Testing environment is:
WordPress => v5.2.1
YOAST SEO => v11.2.1
Ubuntu => 16.04Please help me regarding this.
Thank you.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘WordPress > Error | 500 Error on post-new.php’ is closed to new replies.