[wp-trac] [WordPress Trac] #57633: Call to undefined function trailingslashit()

WordPress Trac noreply at wordpress.org
Sat Feb 4 08:30:22 UTC 2023


#57633: Call to undefined function trailingslashit()
-----------------------------+-----------------------------
 Reporter:  noaimdk          |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  6.1.1
 Severity:  normal           |   Keywords:  needs-patch
  Focuses:                   |
-----------------------------+-----------------------------
 {{{
 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]

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


More information about the wp-trac mailing list