Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin not working with WooCommerce 3.7.1 #11

Open
flourish-consulting opened this issue Oct 21, 2019 · 0 comments
Open

Plugin not working with WooCommerce 3.7.1 #11

flourish-consulting opened this issue Oct 21, 2019 · 0 comments

Comments

@flourish-consulting
Copy link

Hi

Have upgraded WooCommerce this evening which is generating the below fatal error in the logs:

2019-10-21T20:51:17+00:00 CRITICAL Uncaught Error: Call to a member function get_queried_object() on null in /home/196789.cloudwaysapps.com/dhgmwvmbky/public_html/wp-includes/query.php:44
Stack trace:
#0 /home/196789.cloudwaysapps.com/dhgmwvmbky/public_html/wp-content/plugins/wc-category-locker/frontend.php(52): get_queried_object()
#1 /home/196789.cloudwaysapps.com/dhgmwvmbky/public_html/wp-includes/class-wp-hook.php(286): WC_Category_Locker_Frontend->password(Object(WP_Query))
#2 /home/196789.cloudwaysapps.com/dhgmwvmbky/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#3 /home/196789.cloudwaysapps.com/dhgmwvmbky/public_html/wp-includes/plugin.php(531): WP_Hook->do_action(Array)
#4 /home/196789.cloudwaysapps.com/dhgmwvmbky/public_html/wp-includes/class-wp-query.php(1752): do_action_ref_array('pre_get_posts', Array)
#5 /home/196789.cloudwaysapps.com/dhgmwvmbky/public_html/wp-includes/class-wp-query.php(3403): WP_Query->get_posts()
#6 /home/196789.cloudwaysapps.com/dhgmwvmbky/public_html/wp-includes/post.php(19 in /home/196789.cloudwaysapps.com/dhgmwvmbky/public_html/wp-includes/query.php on line 44

Thanks,
Ash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant