WPIntell

Source evidence

Fatal error

WP Approve User · support · 2022-11-02T20:52:00+00:00

mixedsentiment
highseverity
0.95relevance
24replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 34 rows with source links

17.6% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Chuckie resolved
Hi I am getting a fatal error in WP 6.1: Stack trace: #0 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-includes/class-wp-user-query.php(79): WP_User_Query->query() #1 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-includes/user.php(763): WP_User_Query->__construct(Array) #2 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/wp-approve-user/wp-approve-user.php(95): get_users(Array) #3 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/wp-approve-user/wp-approve-user.php(1133): Obenland_Wp_Approve_User->__construct() What’s the error? Fatal error: Uncaught Error: Call to undefined function cache_users() in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-includes/class-wp-user-query.php:843 Stack trace: #0 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-includes/class-wp-user-query.php(79): WP_User_Query->query() #1 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-includes/user.php(763): WP_User_Query->__construct(Array) #2 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/wp-approve-user/wp-approve-user.php(95): get_users(Array) #3 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/wp-approve-user/wp-approve-user.php(1133): Obenland_Wp_Approve_User->__construct() #4 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-settings.php(447): include_once(‘/customers/e/9/…’) #5 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-config.php(98): require_once(‘/customers/e/9/…’) #6 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-load.php(50): require_once(‘/customers/e/9/…’) #7 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-admin/admin.php(34): require_once(‘/customers/e/9/…’) #8 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-admin/index.php(10): require_once(‘/customers/e/9/…’) #9 {main} thrown in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-includes/class-wp-user-query.php on line 843 Warning: Trying to access array offset on value of type bool in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/fatal-error-handler.php on line 176 Warning: Trying to access array offset on value of type bool in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/fatal-error-handler.php on line 188 Warning: Trying to access array offset on value of type bool in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/fatal-error-handler.php on line 201 Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-includes/functions.php on line 5835 Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-includes/functions.php on line 5835 There has been a critical error on your website. Please check your site admin email inbox for instructions. It appears to be at the top of the stack trace. I have deactivated the plugin for my site to work. Thanks! It looks like the class gets instantiated too early. I’ll prep a fix, thanks for letting me know. Thank you. I confirm that the moment I activate the plugin on the staging site I then got a fatal error again. Hi, I also have the same error on a client website. Really appreciate that you’re looking into this, do you have a timeframe for a fix to be available? Yes, I have users stuck in limbo who registered, and I can’t approve until the plugin is activated again. Hi, I have the same problem, hopefully a fix will soon be available Just published the new version, it should now be available in your wp-admin. Apologies for the delay, this was the first time publishing a new version using new deploy tools, so I hope all is smooth. Please let me know if things are not fixed in the new version and I’ll take another look. Thanks! I am afraid that as soon as I updated to this version and reactivated the whole site blew up again as before. same here 🙁 Fatal error: Uncaught Error: Call to undefined function cache_users() in /home/customer/www/my.url.de/public_html/wp-includes/class-wp-user-query.php:843 Stack trace: #0 /home/customer/www/my.url.de/public_html/wp-includes/class-wp-user-query.php(79): WP_User_Query->query() #1 /home/customer/www/my.url.de/public_html/wp-includes/user.php(763): WP_User_Query->__construct(Array) #2 /home/customer/www/my.url.de/public_html/wp-content/plugins/wp-approve-user/class-obenland-wp-approve-user.php(78): get_users(Array) #3 /home/customer/www/my.url.de/public_html/wp-content/plugins/wp-approve-user/class-obenland-wp-approve-user.php(93): Obenland_Wp_Approve_User->__construct() #4 /home/customer/www/my.url.de/public_html/wp-content/plugins/wp-approve-user/wp-approve-user.php(36): Obenland_Wp_Approve_User::get_instance() #5 /home/customer/www/my.url.de/public_html/wp-settings.php(447): include_once('/home/customer/...') #6 /home/customer/ in /home/customer/www/my.url.de/public_html/wp-includes/class-wp-user-query.php on line 843 Same experience for me as well – updated to v9 and had the same critical error. Okay, looking. Not sure at this point what would cause that. Do you have any caching plugins enabled? Yes, but they worked fine up until now. i am on siteground and disabled sg-optimizer plugin and refreshed the memcache etc. on siteground. I just tried again on staging – all plugins deactivated – so no cache. Still fatal error. Thanks for your patience y’all. I published v10 just now with what should hopefully fix this. This was not an obvious one for me to figure out. Thanks for you follow ups and giving me a chance to fix it. All good for me! Well done. Confirmed it’s also working for me now too. Thanks for your speedy work Konstantin! @obenland thank you for the fix! It works on my website now. Same problem here. I upgraded WP yesterday and had to disable this plugin to use the site. I have been monitoring this topic for the fix. Just installed v.10, and re-activated. Everything works works as normal again. I very much appreciate this plugin, and am grateful for your fast fix. Much appreciated. I’m having this same issue. We have has the site up for a few years and never had this issue. Any word on a fix – this site is for an HOA and they have to be able to approve their users. Hey @rowdycolors , this should already be fixed. Are you on the latest version of the plugin?

Comments

24 shown
Konstantin Obenland 2022-11-02T20:53:00+00:00

What’s the error?

Chuckie 2022-11-02T20:54:00+00:00

Fatal error: Uncaught Error: Call to undefined function cache_users() in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-includes/class-wp-user-query.php:843 Stack trace: #0 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-includes/class-wp-user-query.php(79): WP_User_Query->query() #1 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-includes/user.php(763): WP_User_Query->__construct(Array) #2 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/wp-approve-user/wp-approve-user.php(95): get_users(Array) #3 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/plugins/wp-approve-user/wp-approve-user.php(1133): Obenland_Wp_Approve_User->__construct() #4 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-settings.php(447): include_once(‘/customers/e/9/…’) #5 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-config.php(98): require_once(‘/customers/e/9/…’) #6 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-load.php(50): require_once(‘/customers/e/9/…’) #7 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-admin/admin.php(34): require_once(‘/customers/e/9/…’) #8 /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-admin/index.php(10): require_once(‘/customers/e/9/…’) #9 {main} thrown in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-includes/class-wp-user-query.php on line 843 Warning: Trying to access array offset on value of type bool in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/fatal-error-handler.php on line 176 Warning: Trying to access array offset on value of type bool in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/fatal-error-handler.php on line 188 Warning: Trying to access array offset on value of type bool in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-content/fatal-error-handler.php on line 201 Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-includes/functions.php on line 5835 Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /customers/e/9/c/publictalksoftware.co.uk/httpd.www/wp-includes/functions.php on line 5835 There has been a critical error on your website. Please check your site admin email inbox for instructions.

Chuckie 2022-11-02T20:54:00+00:00

It appears to be at the top of the stack trace. I have deactivated the plugin for my site to work.

Konstantin Obenland 2022-11-02T20:57:00+00:00

Thanks! It looks like the class gets instantiated too early. I’ll prep a fix, thanks for letting me know.

Chuckie 2022-11-02T21:04:00+00:00

Thank you.

Chuckie 2022-11-02T21:10:00+00:00

I confirm that the moment I activate the plugin on the staging site I then got a fatal error again.

beavis82 2022-11-03T08:29:00+00:00

Hi, I also have the same error on a client website. Really appreciate that you’re looking into this, do you have a timeframe for a fix to be available?

Chuckie 2022-11-03T12:21:00+00:00

Yes, I have users stuck in limbo who registered, and I can’t approve until the plugin is activated again.

sk117 2022-11-03T12:36:00+00:00

Hi, I have the same problem, hopefully a fix will soon be available

Konstantin Obenland 2022-11-03T14:19:00+00:00

Just published the new version, it should now be available in your wp-admin. Apologies for the delay, this was the first time publishing a new version using new deploy tools, so I hope all is smooth. Please let me know if things are not fixed in the new version and I’ll take another look. Thanks!

Chuckie 2022-11-03T14:32:00+00:00

I am afraid that as soon as I updated to this version and reactivated the whole site blew up again as before.

sk117 2022-11-03T14:37:00+00:00

same here 🙁 Fatal error: Uncaught Error: Call to undefined function cache_users() in /home/customer/www/my.url.de/public_html/wp-includes/class-wp-user-query.php:843 Stack trace: #0 /home/customer/www/my.url.de/public_html/wp-includes/class-wp-user-query.php(79): WP_User_Query->query() #1 /home/customer/www/my.url.de/public_html/wp-includes/user.php(763): WP_User_Query->__construct(Array) #2 /home/customer/www/my.url.de/public_html/wp-content/plugins/wp-approve-user/class-obenland-wp-approve-user.php(78): get_users(Array) #3 /home/customer/www/my.url.de/public_html/wp-content/plugins/wp-approve-user/class-obenland-wp-approve-user.php(93): Obenland_Wp_Approve_User->__construct() #4 /home/customer/www/my.url.de/public_html/wp-content/plugins/wp-approve-user/wp-approve-user.php(36): Obenland_Wp_Approve_User::get_instance() #5 /home/customer/www/my.url.de/public_html/wp-settings.php(447): include_once('/home/customer/...') #6 /home/customer/ in /home/customer/www/my.url.de/public_html/wp-includes/class-wp-user-query.php on line 843

pasttenseofdraw 2022-11-03T14:38:00+00:00

Same experience for me as well – updated to v9 and had the same critical error.

Konstantin Obenland 2022-11-03T14:39:00+00:00

Okay, looking. Not sure at this point what would cause that. Do you have any caching plugins enabled?

Chuckie 2022-11-03T14:41:00+00:00

Yes, but they worked fine up until now.

sk117 2022-11-03T14:43:00+00:00

i am on siteground and disabled sg-optimizer plugin and refreshed the memcache etc. on siteground.

Chuckie 2022-11-03T14:43:00+00:00

I just tried again on staging – all plugins deactivated – so no cache. Still fatal error.

Konstantin Obenland 2022-11-03T15:12:00+00:00

Thanks for your patience y’all. I published v10 just now with what should hopefully fix this. This was not an obvious one for me to figure out. Thanks for you follow ups and giving me a chance to fix it.

Chuckie 2022-11-03T15:19:00+00:00

All good for me! Well done.

pasttenseofdraw 2022-11-03T15:20:00+00:00

Confirmed it’s also working for me now too. Thanks for your speedy work Konstantin!

sk117 2022-11-03T15:42:00+00:00

@obenland thank you for the fix! It works on my website now.

kiwi3685 2022-11-04T00:06:00+00:00

Same problem here. I upgraded WP yesterday and had to disable this plugin to use the site. I have been monitoring this topic for the fix. Just installed v.10, and re-activated. Everything works works as normal again. I very much appreciate this plugin, and am grateful for your fast fix. Much appreciated.

rowdycolors 2022-12-22T16:15:00+00:00

I’m having this same issue. We have has the site up for a few years and never had this issue. Any word on a fix – this site is for an HOA and they have to be able to approve their users.

Konstantin Obenland 2022-12-22T16:18:00+00:00

Hey @rowdycolors , this should already be fixed. Are you on the latest version of the plugin?