Error Message on Brandin Plugin

Hi, When I install the Branding plugin, I get an error message and my site becomes unusable. As a result I have to ftp into it and delete the Branding plugin manually to be able to access my site again.
The error message is:
Fatal error: Call to a member function is_main_query() on null in /home/nationalhotelsup/public_html/wp-includes/query.php on line 749

  • Nithin

    Hi Eric,

    Hope you are doing good today. :slight_smile:

    I'm not able to replicate such issue in my system, the error message relates to either your theme, or some other plugin is setting wp_query to null. Could you please disable all the plugins except Ultimate Branding, and change to default WordPress theme, and then check whether the plugin works fine.

    If yes, please enable other plugins one by one, and check which plugin breaks your website. Since it's live site, I didn't perform any such changes.

    Please let us know how that goes, so that we could guide you better. Have a nice weekend. :slight_smile:

    Kind Regards,
    Nithin

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.