[wp-trac] [WordPress Trac] #57444: PHP issue with maintance page

WordPress Trac noreply at wordpress.org
Fri Jan 13 01:05:57 UTC 2023


#57444: PHP issue with maintance page
--------------------------+------------------------
 Reporter:  NekoJonez     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  I18N          |     Version:
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------
Changes (by SergeyBiryukov):

 * milestone:  Awaiting Review =>


Old description:

> Since the PHP 8.0 update, I get this error message on my websites while
> plugins are updating:
>
> Fatal error: Uncaught Error: Call to undefined function trailingslashit()
> in ***/httpd.www/ontwikkel/wp-includes/class-wp-textdomain-
> registry.php:103 Stack trace: #0 ***/httpd.www/ontwikkel/wp-
> includes/l10n.php(784): WP_Textdomain_Registry->set('default', 'nl_NL',
> '/*/*/*/...') #1 ***/httpd.www/ontwikkel/wp-includes/load.php(1401):
> load_textdomain('default', '/*/*/*/...', 'nl_NL') #2
> ***/httpd.www/ontwikkel/wp-includes/load.php(278):
> wp_load_translations_early() #3 ***/httpd.www/ontwikkel/wp-
> settings.php(74): wp_maintenance() #4 ***/httpd.www/ontwikkel/wp-
> config.php(125): require_once('/*/*/*/...') #5 ***/httpd.www/ontwikkel
> /wp-load.php(50): require_once('/*/*/*/...') #6 ***/httpd.www/ontwikkel
> /wp-admin/admin.php(34): require_once('/*/*/*/...') #7
> ***/httpd.www/ontwikkel/wp-admin/index.php(10):
> require_once('/*/*/*/...') #8 {main} thrown in ***/httpd.www/ontwikkel
> /wp-includes/class-wp-textdomain-registry.php on line 103
>
> I censored my domain and such for obivious reasons.
>
> It's only a visual thing since this shows when the plugin/theme's are
> updating.

New description:

 Since the PHP 8.0 update, I get this error message on my websites while
 plugins are updating:
 {{{
 Fatal error: Uncaught Error: Call to undefined function trailingslashit()
 in ***/httpd.www/ontwikkel/wp-includes/class-wp-textdomain-
 registry.php:103
 Stack trace:
 #0 ***/httpd.www/ontwikkel/wp-includes/l10n.php(784):
 WP_Textdomain_Registry->set('default', 'nl_NL', '/*/*/*/...')
 #1 ***/httpd.www/ontwikkel/wp-includes/load.php(1401):
 load_textdomain('default', '/*/*/*/...', 'nl_NL')
 #2 ***/httpd.www/ontwikkel/wp-includes/load.php(278):
 wp_load_translations_early()
 #3 ***/httpd.www/ontwikkel/wp-settings.php(74): wp_maintenance()
 #4 ***/httpd.www/ontwikkel/wp-config.php(125): require_once('/*/*/*/...')
 #5 ***/httpd.www/ontwikkel/wp-load.php(50): require_once('/*/*/*/...')
 #6 ***/httpd.www/ontwikkel/wp-admin/admin.php(34):
 require_once('/*/*/*/...')
 #7 ***/httpd.www/ontwikkel/wp-admin/index.php(10):
 require_once('/*/*/*/...')
 #8 {main} thrown in ***/httpd.www/ontwikkel/wp-includes/class-wp-
 textdomain-registry.php on line 103
 }}}
 I censored my domain and such for obivious reasons.

 It's only a visual thing since this shows when the plugin/theme's are
 updating.

--

Comment:

 Hi there, thanks for the ticket!

 Indeed, as pointed out above, this looks like a manifestation of the issue
 that was previously reported in #57218.

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


More information about the wp-trac mailing list