Make WordPress Core

#57633 closed defect (bug) (duplicate)

Call to undefined function trailingslashit()

Reported by: noaimdk's profile noaimdk Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.1.1
Component: I18N Keywords:
Focuses: Cc:

Description

Fatal error: Uncaught Error: Call to undefined function trailingslashit() in /home/www/domain.com/wp-includes/class-wp-textdomain-registry.php:103

Stack trace:
#0 /home/www/domain.com/wp-includes/l10n.php(784): WP_Textdomain_Registry->set('default', 'da_DK', '/home/www/domai...')
#1 /home/www/domain.com/wp-includes/load.php(1401): load_textdomain('default', '/home/www/domai...', 'da_DK')
#2 /home/www/domain.com/wp-includes/load.php(278): wp_load_translations_early() 
#3 /home/www/domain.com/wp-settings.php(74): wp_maintenance()
#4 /home/www/domain.com/wp-config.php(107): require_once('/home/www/domai...')
#5 /home/www/domain.com/wp-load.php(50): require_once('/home/www/domai...')
#6 /home/www/domain.com/wp-blog-header.php(13): require_once('/home/www/domai...')
#7 /home/www/domain.com/index.php(17): require('/home/www/domai...')
#8 {main} thrown in /home/www/domain.com/wp-includes/class-wp-textdomain-registry.php on line 103

https://wordpress.org/support/topic/bug-call-to-undefined-function-trailingslashit/#post-16439181

Change History (1)

#1 @SergeyBiryukov
22 months ago

  • Component changed from Upgrade/Install to I18N
  • Keywords needs-patch removed
  • 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.