Title: WHMCS &amp; WordPress Issue
Last modified: August 21, 2016

---

# WHMCS & WordPress Issue

 *  [PetruTiglar](https://wordpress.org/support/users/petrutiglar/)
 * (@petrutiglar)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/whmcs-wordpress-issue/)
 * Hey,
 * I’m using WordPress as the Base template of our Hosting website.
    and we have
   WHMCS installed in a subdirectory. For some reason when installing Yoast we get
   an error when viewing the WHMCS website. I’m sure you guys have probably had 
   a lot of people come to you with this issue. Not that everyone runs a hosting
   business. But hopefully you’d know what’s happening here.
 * The error says:
 * > Fatal error: Call to a member function is_main_query() on a non-object in /
   > home/”user”/public_html/wp-content/plugins/wordpress-seo/frontend/class-frontend.
   > php on line 526
 * Hopefully someone can at least push me in the right direction.
 * Thanks
 * Regards,
    Petru
 * [https://wordpress.org/plugins/wordpress-seo/](https://wordpress.org/plugins/wordpress-seo/)

The topic ‘WHMCS & WordPress 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [PetruTiglar](https://wordpress.org/support/users/petrutiglar/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/whmcs-wordpress-issue/)
 * Status: not resolved