Title: Diagnosing Error
Last modified: August 21, 2016

---

# Diagnosing Error

 *  [jonessc](https://wordpress.org/support/users/jonessc/)
 * (@jonessc)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/diagnosing-error/)
 * Hello,
 * Has anyone came across this error before, it only happens when the plugin is 
   activated, as soon as the plugin is de-activated everyone works fine.
 * This is being tested on a separate WordPress install with only the SEO module
   being installed and activated.
 * Fatal error: Call to a member function add_query_var() on a non-object in /home/
   dirhidden/public_html/dev/wp-content/plugins/wordpress-seo/inc/wpseo-functions.
   php on line 326
 * Would appreciate any input to try and isolate the cause.
 * Thanks
 * [http://wordpress.org/extend/plugins/wordpress-seo/](http://wordpress.org/extend/plugins/wordpress-seo/)

The topic ‘Diagnosing Error’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [jonessc](https://wordpress.org/support/users/jonessc/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/diagnosing-error/)
 * Status: not resolved