Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author mra13

    (@mra13)

    That error doesn’t look like something that is coming from this plugin. Have you tried deactivating other plugins and checking it?

    camna

    (@camna)

    Hello,

    We are receiving the exact same error as Nima above. However, after a bit of troubleshooting, we’ve discovered that the error only occurs when the WooCommerce plugin is enabled. We have the latest version of WordPress, WooCommerce, and Simple Download Monitor installed. We use WooCommerce on dozens of websites, and have never had any issues (and it’s not causing any issues with any of the other dozens of plugins in use on this site). Are you aware of any compatibility issues between your plugin and WooCommerce?

    You can see the test page I set up, which demonstrates the issue: https://www.analystsolutions.com/sdm-download-test/

    The user sees only a blank page, while the following error is logged:

    PHP Fatal error: Call to a member function is_main_query() on a non-object in /home/analy1/public_html/wp-includes/query.php on line 730, referer: https://www.analystsolutions.com/sdm-download-test/

    Any insight you could provide would be greatly appreciated.

    Thanks,
    Phil

    Plugin Author mra13

    (@mra13)

    WooCommerce’s latest release was causing this issue. I have released an updated version that will get around the issue. Please upgrade to v3.1.9 and you won’t see the issue.

    Thread Starter Nima Saberi

    (@nipoto)

    thank you ??

    camna

    (@camna)

    Thank you for your prompt support – this update solved the issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Call to a member function is_main_query()’ is closed to new replies.