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