[wp-trac] [WordPress Trac] #47265: Uncaught Error: Call to undefined function load_default_textdomain() in /wp-includes/class-wp-fatal-error-handler.php:41
WordPress Trac
noreply at wordpress.org
Tue May 14 19:56:01 UTC 2019
#47265: Uncaught Error: Call to undefined function load_default_textdomain() in
/wp-includes/class-wp-fatal-error-handler.php:41
-----------------------------------------------+---------------------
Reporter: daxelrod | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.2.1
Component: Bootstrap/Load | Version: 5.2
Severity: normal | Resolution:
Keywords: has-patch servehappy dev-feedback | Focuses:
-----------------------------------------------+---------------------
Description changed by SergeyBiryukov:
Old description:
> Noticed this error after updating to WP 5.2 on PHP 7.3. This error may be
> related to errors thrown in caching plugins, or other drop-ins which
> execute and error early.
>
> My error was thrown after a fatal error in WP Redis:
> > Uncaught RedisException: Connection timed out
>
> I Googled to see if anything had been written on this issue and found a
> completely separate live website presenting the same error (I am not
> associated with this website): http://masacoat-asahi.com/
>
> > Fatal error: Uncaught Error: Call to undefined function mysql_connect()
> in /home/sites/heteml/users/h/u/b/hubstyle/web/masacoat-asahi.com/wp-
> content/advanced-cache.php:106 Stack trace: #0
> /home/sites/heteml/users/h/u/b/hubstyle/web/masacoat-asahi.com/wp-content
> /advanced-cache.php(184): SiteManagerAdvancedCache->__construct() #1
> /home/sites/heteml/users/h/u/b/hubstyle/web/masacoat-asahi.com/wp-
> settings.php(95): include('/home/sites/het...') #2
> /home/sites/heteml/users/h/u/b/hubstyle/web/masacoat-asahi.com/wp-
> config.php(85): require_once('/home/sites/het...') #3
> /home/sites/heteml/users/h/u/b/hubstyle/web/masacoat-asahi.com/wp-
> load.php(37): require_once('/home/sites/het...') #4
> /home/sites/heteml/users/h/u/b/hubstyle/web/masacoat-asahi.com/wp-blog-
> header.php(13): require_once('/home/sites/het...') #5
> /home/sites/heteml/users/h/u/b/hubstyle/web/masacoat-
> asahi.com/index.php(17): require('/home/sites/het...') #6 {main} thrown
> in /home/sites/heteml/users/h/u/b/hubstyle/web/masacoat-asahi.com/wp-
> content/advanced-cache.php on line 106
> >
> > Fatal error: Uncaught Error: Call to undefined function
> load_default_textdomain() in /home/sites/heteml/users/h/u/b/hubstyle/web
> /masacoat-asahi.com/wp-includes/class-wp-fatal-error-handler.php:41 Stack
> trace: #0 [internal function]: WP_Fatal_Error_Handler->handle() #1 {main}
> thrown in /home/sites/heteml/users/h/u/b/hubstyle/web/masacoat-asahi.com
> /wp-includes/class-wp-fatal-error-handler.php on line 41
>
> It appears this code was introduced in #47093 (changeset 45277) to fix an
> issue with recovery mode emails locale.
>
> Suggest a conditional for if locale is not defined yet.
New description:
Noticed this error after updating to WP 5.2 on PHP 7.3. This error may be
related to errors thrown in caching plugins, or other drop-ins which
execute and error early.
My error was thrown after a fatal error in WP Redis:
> Uncaught RedisException: Connection timed out
I Googled to see if anything had been written on this issue and found a
completely separate live website presenting the same error (I am not
associated with this website): http://masacoat-asahi.com/
{{{
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in
/home/sites/heteml/users/h/u/b/hubstyle/web/masacoat-asahi.com/wp-content
/advanced-cache.php:106
Stack trace:
#0 /home/sites/heteml/users/h/u/b/hubstyle/web/masacoat-asahi.com/wp-
content/advanced-cache.php(184): SiteManagerAdvancedCache->__construct()
#1 /home/sites/heteml/users/h/u/b/hubstyle/web/masacoat-asahi.com/wp-
settings.php(95): include('/home/sites/het...')
#2 /home/sites/heteml/users/h/u/b/hubstyle/web/masacoat-asahi.com/wp-
config.php(85): require_once('/home/sites/het...')
#3 /home/sites/heteml/users/h/u/b/hubstyle/web/masacoat-asahi.com/wp-
load.php(37): require_once('/home/sites/het...')
#4 /home/sites/heteml/users/h/u/b/hubstyle/web/masacoat-asahi.com/wp-blog-
header.php(13): require_once('/home/sites/het...')
#5 /home/sites/heteml/users/h/u/b/hubstyle/web/masacoat-
asahi.com/index.php(17): require('/home/sites/het...')
#6 {main} thrown in /home/sites/heteml/users/h/u/b/hubstyle/web/masacoat-
asahi.com/wp-content/advanced-cache.php on line 106
Fatal error: Uncaught Error: Call to undefined function
load_default_textdomain() in /home/sites/heteml/users/h/u/b/hubstyle/web
/masacoat-asahi.com/wp-includes/class-wp-fatal-error-handler.php:41
Stack trace:
#0 [internal function]: WP_Fatal_Error_Handler->handle()
#1 {main} thrown in /home/sites/heteml/users/h/u/b/hubstyle/web/masacoat-
asahi.com/wp-includes/class-wp-fatal-error-handler.php on line 41
}}}
It appears this code was introduced in #47093 (changeset 45277) to fix an
issue with recovery mode emails locale.
Suggest a conditional for if locale is not defined yet.
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47265#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list