Fatal error: Attempt to modify property “queries” on null
-
My previous post was closed despite it not being resolved. Please don’t mark this as resolved until it is, so we can keep the conversation in one thread.
I’m getting the following error on my website every hour or so while the plugin is active. When I deactivate the plugin, the error stops occurring.
WordPress Version: 6.4.3
ARMember Lite: 4.0.27Here’s the error and stack trace:
PHP Fatal error Uncaught Error: Attempt to modify property “queries” on null in /…/wp-content/plugins/armember-membership/core/classes/class.arm_restriction.php:1220
Stack trace:
- #0 /…/wp-includes/class-wp-hook.php(324): ARM_restriction_Lite->arm_pre_get_posts(Object(WP_Query))
- #1 /…/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(Object(WP_Query), Array)
- #2 /…/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
- #3 /…/wp-includes/class-wp-query.php(1881): do_action_ref_array(‘pre_get_posts’, Array)
- #4 /…/wp-includes/class-wp-query.php(3824): WP_Query->get_posts()
- #5 /…/wp-includes/class-wp.php(696): WP_Query->query(Array)
- #6 /…/wp-includes/class-wp.php(816): WP->query_posts()
- #7 /…/wp-includes/functions.php(1336): WP->main(”)
- #8 /…/wp-blog-header.php(16): wp()
- #9 /…/index.php(17): require(‘/home/gaiusjaug…’)
- #10 {main}
thrown in /…/wp-content/plugins/armember-membership/core/classes/class.arm_restriction.php on line 1220
Thank you in advance for your help!
- The topic ‘Fatal error: Attempt to modify property “queries” on null’ is closed to new replies.