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

WordPress Trac noreply at wordpress.org
Wed Jan 11 14:13:05 UTC 2023


#57444: PHP issue with maintance page
--------------------------+-----------------------------
 Reporter:  NekoJonez     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Site Health   |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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.

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


More information about the wp-trac mailing list