• Resolved pclweb

    (@pclweb)


    Getting the following in my error_log

    [18-May-2018 17:02:10 UTC] 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 /home4/niche/public_html/*****.com/wp-includes/class-wp-hook.php on line 288 and defined in /home4/niche/public_html/*****.com/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php:43
    Stack trace:
    #0 /home4/niche/public_html/*****.com/wp-includes/class-wp-hook.php(288): WPSEO_Link_Watcher->save_post(0, NULL)
    #1 /home4/niche/public_html/*****.com/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #2 /home4/niche/public_html/*****.com/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #3 /home4/niche/public_html/*****.com/wp-includes/post.php(3640): do_action('save_post', 0, NULL, false)
    #4 /home4/niche/public_html/*****.com/wp-includes/class-wp-embed.php(303): wp_insert_post(Array)
    #5 /home4/niche/public_html/*****.com/wp-includes/class-wp-embed.php(411): WP_Em in /home4/niche/public_html/*****.com/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php on line 43
    [18-May-2018 17:24:18 UTC] WordPress database error Lost connection to MySQL server during query for query SELECT   wp_posts.* FROM wp_posts  WHERE 1=1  AND wp_posts.ID = 8 AND wp_posts.post_type = 'page'  ORDER BY wp_posts.post_date DESC  made by require('wp-blog-header.php'), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts
    [18-May-2018 17:24:18 UTC] WordPress database error Lost connection to MySQL server during query for query UPDATE <code>wp_posts</code> SET <code>guid</code> = '' WHERE <code>ID</code> = 0 made by do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, nxs_checkQuery, nxs_pushPostToNT, nxs_snapClassNT->publishWP, nxs_snapClassTW->adjPreFormatWP, apply_filters('the_content'), WP_Hook->apply_filters, WP_Embed->autoembed, preg_replace_callback, WP_Embed->autoembed_callback, WP_Embed->shortcode, wp_insert_post
    [18-May-2018 17:24:23 UTC] 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 /home4/niche/public_html/*****.com/wp-includes/class-wp-hook.php on line 288 and defined in /home4/niche/public_html/*****.com/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php:43
    

    I cannot access my posts as it freezes WordPress. Going back to wordpress-seo.7.4.1.zip fixes the issue.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Latest versions crash websites’ is closed to new replies.