[wp-trac] [WordPress Trac] #57051: Call to undefined function wp_cache_get() wp-includes/option.php:165

WordPress Trac noreply at wordpress.org
Wed Nov 9 22:37:23 UTC 2022


#57051: Call to undefined function wp_cache_get()  wp-includes/option.php:165
--------------------------+---------------------
 Reporter:  azurseisme    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.1.1
Component:  I18N          |     Version:  6.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+---------------------
Description changed by costdev:

Old description:

> Since a few days (I think after upgrading to WP 6.1) , I have the
> following bug
>
> {{{
> [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/
> }}}
>
> I have applied the patch described by #56952 but no success
> The site is down, except for pages in the cache but I cannot access the
> admin page

New description:

 Since a few days (I think after upgrading to WP 6.1) , I have the
 following bug

 {{{
 PHP Fatal error:  Uncaught Error: Call to undefined function
 wp_cache_get() in /wp-includes/option.php:165
 Stack trace:
 #0 /wp-includes/l10n.php(63): get_option()
 #1 /wp-includes/l10n.php(139): get_locale()
 #2 /wp-includes/l10n.php(766): determine_locale()
 #3 /wp-includes/load.php(1395): load_textdomain()
 #4 /wp-includes/class-wpdb.php(1198): wp_load_translations_early()
 #5 /wp-includes/class-wpdb.php(1858): wpdb->select()
 #6 /wp-includes/class-wpdb.php(734): wpdb->db_connect()
 #7 /wp-includes/load.php(562): wpdb->__construct()
 #8 /wp-settings.php(124): require_wp_db()
 #9 /wp-config.php(89): require_once('/home/Web/Azurs...')
 #10 /wp-load.php(50): require_once(' in /home/Web/Azurseisme/volcanspro
 /wp-includes/option.php on line 165, referer: https://subdomain.domain.com
 /post-name

 PHP Fatal error:  Uncaught Error: Call to a member function set() on null
 in /wp-includes/l10n.php:784
 Stack trace:
 #0 /wp-includes/l10n.php(872): load_textdomain()
 #1 /wp-includes/class-wp-fatal-error-handler.php(47):
 load_default_textdomain()
 #2 [internal function]: WP_Fatal_Error_Handler->handle()\n#3 {main}
 thrown in /wp-includes/l10n.php on line 784, referer:
 https://subdomain.domain.com/post-name
 }}}

 I have applied the patch described by #56952 but no success
 The site is down, except for pages in the cache but I cannot access the
 admin page

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57051#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list