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

Fatal Error calling is_main_query() still a problem #892

Open
nhadsall opened this issue Feb 10, 2022 · 0 comments
Open

Fatal Error calling is_main_query() still a problem #892

nhadsall opened this issue Feb 10, 2022 · 0 comments
Labels
type: bug The issue is a confirmed bug.

Comments

@nhadsall
Copy link

We are getting the same error due to an activity log plugin calling get_the_title( $postID );

Stack trace:
#0 /home/user/public_html/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-checkout-handler.php(76): is_main_query()
#1 /home/user/public_html/wp-includes/class-wp-hook.php(309): WC_Gateway_PPEC_Checkout_Handler->endpoint_page_titles('Private: Unlock...')
#2 /home/user/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters('Private: Unlock...', Array)
#3 /home/user/public_html/wp-includes/post-template.php(171): apply_filters('the_title', 'Private: Unlock...', 617344)
#4 /home/user/public_html/wp-content/plugins/aryo-activity-log/hooks/class-aal-hook-posts.php(7): get_the_title(Object(WP_Post))
#5 /home/user/public_html/wp-content/plugins/aryo-activity-log/hooks/class-aal-hook-posts.php(45): AAL_Hook_Posts->_draft_or_post_title(617344)
#6 /home/user/public_html/wp-includes/class-wp-hook.php(307): AAL_Hook_Posts->hooks_transition_post_s in /home/user/public_html/wp-includes/query.php on line 919

#263 (comment)

@nhadsall nhadsall added the type: bug The issue is a confirmed bug. label Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug The issue is a confirmed bug.
Projects
None yet
Development

No branches or pull requests

1 participant