[wp-trac] [WordPress Trac] #56952: cache_users() not defined when calling get_user without field parameter or using all_with_meta or all
WordPress Trac
noreply at wordpress.org
Wed Nov 9 21:50:12 UTC 2022
#56952: cache_users() not defined when calling get_user without field parameter or
using all_with_meta or all
-------------------------------------------------+-------------------------
Reporter: carazo | Owner:
| TimothyBlynJacobs
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.1.1
Component: Users | Version: 6.1
Severity: major | Resolution: fixed
Keywords: has-patch has-testing-info commit | Focuses:
fixed-major | performance
-------------------------------------------------+-------------------------
Comment (by azurseisme):
I have the bug but after applying the patch, I still have:
{{{
[Wed Nov 09 22:35:15.833980 2022] [php7:error] [pid 933177] [client
2a01:e0a:824:3ae0:ade:a428:3e00:8342:40936] PHP Fatal error: Uncaught
Error: Call to undefined function wp_cache_get() in
/home/Web/Azurseisme/volcanspro/wp-includes/option.php:165\nStack
trace:\n#0 /home/Web/Azurseisme/volcanspro/wp-includes/l10n.php(63):
get_option()\n#1 /home/Web/Azurseisme/volcanspro/wp-
includes/l10n.php(139): get_locale()\n#2 /home/Web/Azurseisme/volcanspro
/wp-includes/l10n.php(766): determine_locale()\n#3
/home/Web/Azurseisme/volcanspro/wp-includes/load.php(1395):
load_textdomain()\n#4 /home/Web/Azurseisme/volcanspro/wp-includes/class-
wpdb.php(1198): wp_load_translations_early()\n#5
/home/Web/Azurseisme/volcanspro/wp-includes/class-wpdb.php(1858):
wpdb->select()\n#6 /home/Web/Azurseisme/volcanspro/wp-includes/class-
wpdb.php(734): wpdb->db_connect()\n#7 /home/Web/Azurseisme/volcanspro/wp-
includes/load.php(562): wpdb->__construct()\n#8
/home/Web/Azurseisme/volcanspro/wp-settings.php(124): require_wp_db()\n#9
/home/Web/Azurseisme/volcanspro/wp-config.php(89):
require_once('/home/Web/Azurs...')\n#10 /home/Web/Azurseisme/volcanspro
/wp-load.php(50): require_once(' in /home/Web/Azurseisme/volcanspro/wp-
includes/option.php on line 165, referer:
https://volcanspro.azurseisme.com/les-galapagos/
[Wed Nov 09 22:35:15.842924 2022] [php7:error] [pid 933177] [client
2a01:e0a:824:3ae0:ade:a428:3e00:8342:40936] PHP Fatal error: Uncaught
Error: Call to a member function set() on null in
/home/Web/Azurseisme/volcanspro/wp-includes/l10n.php:784\nStack trace:\n#0
/home/Web/Azurseisme/volcanspro/wp-includes/l10n.php(872):
load_textdomain()\n#1 /home/Web/Azurseisme/volcanspro/wp-includes/class-
wp-fatal-error-handler.php(47): load_default_textdomain()\n#2 [internal
function]: WP_Fatal_Error_Handler->handle()\n#3 {main}\n thrown in
/home/Web/Azurseisme/volcanspro/wp-includes/l10n.php on line 784, referer:
https://volcanspro.azurseisme.com/les-galapagos/
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56952#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list