• Resolved Tomas Cirkl

    (@tomascirkl)


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support amboutwe

    (@amboutwe)

    We’re sorry that you are experiencing problems that might be caused by our plugin!

    Just to be sure, we would like to rule out any plugin or theme conflicts that may occur. The fastest way to do this is to?deactivate all non-Yoast plugins and switch to a standard theme?like?Twenty Nineteen.?

    Test this on your development or staging site, if you have one. If not, we recommend using the?Health Check & Troubleshooting?plugin. This plugin allows you to run a conflict check?without affecting normal visitors to your site.

    As we can imagine that you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process:?How to check for plugin conflicts.

    Plugin Support amboutwe

    (@amboutwe)

    This thread has been marked as resolved due to lack of activity.

    You’re always welcome to re-open this topic. Please read this post before opening a new request.

    Thanks for understanding!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘When create new post: The site is experiencing technical difficulties.’ is closed to new replies.