[wp-trac] [WordPress Trac] #41745: Uncaught Error in get_query_var when $wp_query is null
WordPress Trac
noreply at wordpress.org
Thu Aug 31 11:45:45 UTC 2017
#41745: Uncaught Error in get_query_var when $wp_query is null
--------------------------+------------------------------
Reporter: kbjohnson90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version: 4.8.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by kbjohnson90):
I was able to reproduce it was a rather convoluted combination of plugins:
Event Manager
Event Manager Pro
WP Popup Maker
Ninja Forms
The error is thrown in Event Manager Pro, but only when WP Popup Maker is
active, but only when the Ninja Forms THREE integration is active.
Event Manager Pro is calling `get_query_var()` inside of the hook
`parse_query`.
WP Popup Maker is calling `get_posts()` inside of the hook
`plugins_loaded`.
I'll see if I can put together a reduced test case.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41745#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list