Make WordPress Core

#57359 closed defect (bug) (duplicate)

When in maintenance mode, WordPress throws PHP Fatal error. Call to undefined function trailingslashit() in /data/wordpress/wp-includes/class-wp-textdomain-registry.php:103

Reported by: suhis's profile suhis Owned by:
Milestone: Priority: normal
Severity: major Version: 6.1.1
Component: I18N Keywords: needs-patch
Focuses: Cc:


We have multiple WordPress sites we maintain and when updating plugins today we keep gettings Server error 500 instead the normal maintenance message. Error logs show same PHP Fatal error in all instances.

PHP Fatal error. Uncaught Error: Call to undefined function trailingslashit() in /data/wordpress/wp-includes/class-wp-textdomain-registry.php:103

Hope you can fix this bug soon. Thank you!

Kind regards,
Mika Suhonen

Change History (1)

#1 @SergeyBiryukov
18 months ago

  • Component changed from General to I18N
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, welcome to WordPress Trac!

Thanks for the report, we're already tracking this issue in #57218.

Note: See TracTickets for help on using tickets.