Create a new post – fatal error message
-
Hi there,
I’m experiencing a bit of a problem when trying to create a new post on WordPress today.
Instead of a new page opening, I get the following message;
Fatal error: Uncaught TypeError: Argument 2 passed to WPSEO_Link_Watcher::save_post() must be an instance of WP_Post, null given, called in /var/sites/n/news.hrowen.co.uk/public_html/wp-includes/class-wp-hook.php on line 288 and defined in /var/sites/n/news.hrowen.co.uk/public_html/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php:43 Stack trace: #0 /var/sites/n/news.hrowen.co.uk/public_html/wp-includes/class-wp-hook.php(288): WPSEO_Link_Watcher->save_post(0, NULL) #1 /var/sites/n/news.hrowen.co.uk/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(0, Array) #2 /var/sites/n/news.hrowen.co.uk/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /var/sites/n/news.hrowen.co.uk/public_html/wp-includes/post.php(3673): do_action(‘save_post’, 0, NULL, false) #4 /var/sites/n/news.hrowen.co.uk/public_html/wp-admin/includes/post.php(608): wp_insert_post(Array) #5 /var/sites/n/news.hrowen.co.uk/public_html/wp-admin/post-new.php(70): get_default_post_to_edit(‘post’, true) #6 {mai in /var/sites/n/news.hrowen.co.uk/public_html/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php on line 43
I’m also finding that getting onto the site itself is very slow, it does come up eventually, but takes a couple of minutes. I’ve done also made sure all the latest updates and plugins have been done.
Looking forward to hearing back,
Thanks in advance,
Nadia -
Hi Nadia –
Can you tell me which site you are working on when this error happens?
Does it happen in multiple browsers?
-
Hi Liz,
Apologies, I’ve realised I’ve gone onto the WordPress.com support forum, instead of the WordPress.org by accident.
But for reference, I tried both Firefox and Internet Explorer in case Chrome was the issue. But unfortunately I’m getting the same problem throughout.
Thanks,
Nadia -
Hi Nadia – No worries. You’ll want to head over to https://wordpress.org/support/ for help with this. Best wishes.
-
- The topic ‘Create a new post – fatal error message’ is closed to new replies.