• Resolved see8ch

    (@see8ch)


    Database error occurs if Yoast is active and a user tries to add/save the Scheduling>Pull from Salesforce options (number and time unit). Error log is below:

    PHP Fatal error: Uncaught TypeError: Argument 2 passed to WPSEO_Link_Watcher::save_post() must be an instance of WP_Post, null given in /nas/content/live/agcorp/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php:45\nStack trace:\n#0 [internal function]: WPSEO_Link_Watcher->save_post(9223372036854775807, NULL)\n#1 /nas/content/live/agcorp/wp-includes/class-wp-hook.php(288): call_user_func_array(Array, Array)\n#2 /nas/content/live/agcorp/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(false, Array)\n#3 /nas/content/live/agcorp/wp-includes/plugin.php(465): WP_Hook->do_action(Array)\n#4 /nas/content/live/agcorp/wp-includes/post.php(3951): do_action(‘save_post’, 9223372036854775807, NULL, false)\n#5 /nas/content/live/agcorp/wp-content/plugins/object-sync-for-salesforce/vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore.php(52): wp_insert_post(Array)\n#6 /nas/content/live/agcorp/wp-content/plugins/object-sync-for-salesforce/vendor/prospress/action-scheduler/classes/ActionScheduler_wpPostStore. in /nas/content/live/agcorp/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php on line 45, referer: https://testsite.agcorp.wpengine.com/wp-admin/options-general.php?page=object-sync-salesforce-admin&tab=schedule

Viewing 1 replies (of 1 total)
  • Plugin Author Jonathan Stegall

    (@jonathanstegall)

    I believe this is an error in WPSEO_Link_Watcher. When PHP logs errors like this, it’s telling you the order of events it’s trying to run. This plugin is, as far as I can tell, not the cause of the error.

    I’m not a Yoast user, but a quick Google search indicates that this error has happened for other users as well. It appears to be a situation where Yoast can conflict with other plugins. See https://github.com/Yoast/wordpress-seo/issues/7531.

Viewing 1 replies (of 1 total)
  • The topic ‘Conflict with Yoast Plugin’ is closed to new replies.