[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:38:16 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
>
> {{{
> 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

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 /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:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list