Conflict with Yoast Plugin
-
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
- The topic ‘Conflict with Yoast Plugin’ is closed to new replies.