Replies: 0
Hi,
when I try to add new post (page or Woo product), error “The site is experiencing technical difficulties.” appears. Edit posts is fine.
When I check email:
Error Details
=============
An error of type E_ERROR was caused in line 47 of the file /home/www/toret.cz/www/toret.cz/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php. Error message: Uncaught TypeError: Argument 2 passed to WPSEO_Link_Watcher::save_post() must be an instance of WP_Post, null given, called in /home/www/toret.cz/www/toret.cz/wp-includes/class-wp-hook.php on line 288 and defined in /home/www/toret.cz/www/toret.cz/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php:47
Stack trace:
#0 /home/www/toret.cz/www/toret.cz/wp-includes/class-wp-hook.php(288): WPSEO_Link_Watcher->save_post(0, NULL)
#1 /home/www/toret.cz/www/toret.cz/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 /home/www/toret.cz/www/toret.cz/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 /home/www/toret.cz/www/toret.cz/wp-includes/post.php(3951): do_action('save_post', 0, NULL, false)
#4 /home/www/toret.cz/www/toret.cz/wp-admin/includes/post.php(666): wp_insert_post(Array)
#5 /home/www/toret.cz/www/toret.cz/wp-admin/post-new.php(66): get_default_post_to_edit('product', true)
#6 {main}
thrown
It has to be connected with database error, because it starts after database backup.
When I deactivate Yoast SEO plugin, all works fine. I tryed reinstall, it does not worked.
- This topic was modified 24 minutes ago by Tomas Cirkl.
- This topic was modified 21 minutes ago by Steve Stern.