Title: Yoast active plugin issue
Last modified: June 13, 2019

---

# Yoast active plugin issue

 *  Resolved [Divyesh Ghediya](https://wordpress.org/support/users/dew491212/)
 * (@dew491212)
 * [7 years ago](https://wordpress.org/support/topic/yoast-active-plugin-issue/)
 * Hello,
 * After active plugin, I am not able to Add new post and not create a new page.
   I am a check error log its give below PHP Fatal error:
 *     ```
       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 /home/ut4h2ue96dfe/public_html/demo/edbreak/wp-includes/class-wp-hook.php on line 288 and defined in /home/ut4h2ue96dfe/public_html/demo/edbreak/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php:45
       Stack trace:
       #0 /home/ut4h2ue96dfe/public_html/demo/edbreak/wp-includes/class-wp-hook.php(288): WPSEO_Link_Watcher->save_post(0, NULL)
       #1 /home/ut4h2ue96dfe/public_html/demo/edbreak/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
       #2 /home/ut4h2ue96dfe/public_html/demo/edbreak/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
       #3 /home/ut4h2ue96dfe/public_html/demo/edbreak/wp-includes/post.php(3951): do_action('save_post', 0, NULL, false)
       #4 /home/ut4h2ue96dfe/public_html/demo/edbreak/wp-admin/includes/post.php(666): wp_insert_post(Array)
       #5 /home/ut4h2ue96dfe/public_html/demo/edbreak/wp-admin/post-new.php(66): get_default_post_to_edit('post', tr in /home/ut4h2ue96dfe/public_html/demo/edbreak/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php on line 45
       ```
   
 * Please solve this issue ASAP or else you can suggest other options for this.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Tushar Navadiya](https://wordpress.org/support/users/tusharnavadiya/)
 * (@tusharnavadiya)
 * [7 years ago](https://wordpress.org/support/topic/yoast-active-plugin-issue/#post-11634329)
 * You Should have to First uninstalled Plugins.
 * After Reinstalled Plugins.
 *  Thread Starter [Divyesh Ghediya](https://wordpress.org/support/users/dew491212/)
 * (@dew491212)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/yoast-active-plugin-issue/#post-11637320)
 * [@tusharnavadiya](https://wordpress.org/support/users/tusharnavadiya/)
 * I have tried but still issue is there. can you please give other solution.
 *  [Jerlyn](https://wordpress.org/support/users/jerparx/)
 * (@jerparx)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/yoast-active-plugin-issue/#post-11638169)
 * Hello [@dew491212](https://wordpress.org/support/users/dew491212/)
 * We are sorry to hear about your issue. The error was previously discussed in 
   [this bug report](https://github.com/Yoast/wordpress-seo/issues/7531) and determined
   that the issue is likely caused by a database issue. Please check the WP_POSTS
   table and see if the ‘ID’ field is set to AUTO_INCREMENT ([see image sample here](https://github.com/Yoast/wordpress-seo/issues/7531#issuecomment-368093697)).
   If the field is not set for ‘AUTO_INCREMENT’, the database must be manually fixed
   to add ‘AUTO_INCREMENT’.
 *  Thread Starter [Divyesh Ghediya](https://wordpress.org/support/users/dew491212/)
 * (@dew491212)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/yoast-active-plugin-issue/#post-11638652)
 * Hi, [@jerparx](https://wordpress.org/support/users/jerparx/)
 * Thank you for solution.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Yoast active plugin issue’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 4 replies
 * 3 participants
 * Last reply from: [Divyesh Ghediya](https://wordpress.org/support/users/dew491212/)
 * Last activity: [6 years, 12 months ago](https://wordpress.org/support/topic/yoast-active-plugin-issue/#post-11638652)
 * Status: resolved