[wp-trac] [WordPress Trac] #57292: Fatal error: Uncaught Error: Call to undefined function trailingslashit()

WordPress Trac noreply at wordpress.org
Wed Dec 7 17:30:48 UTC 2022


#57292: Fatal error: Uncaught Error: Call to undefined function trailingslashit()
--------------------------+------------------------
 Reporter:  confile       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  I18N          |     Version:
 Severity:  critical      |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => duplicate
 * component:  General => I18N
 * milestone:  Awaiting Review =>


Old description:

> I got the error after the latest wordpress update:
>
> Fatal error: Uncaught Error: Call to undefined function trailingslashit()
> in /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
> includes/class-wp-textdomain-registry.php:103
>
> Stack Trace
> 1.
> WP_Textdomain_Registry->set()
> /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
> includes/l10n.php:784
> 2.
> load_textdomain()
> /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
> includes/load.php:1401
> 3.
> wp_load_translations_early()
> /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
> includes/load.php:278
> 4.
> wp_maintenance()
> /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
> settings.php:74
> 5.
> require_once('/kunden/365999_...')
> /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
> config.php:127
> 6.
> require_once('/kunden/365999_...')
> /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
> load.php:50
> 7.
> require_once('/kunden/365999_...')
> /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-blog-
> header.php:13
> 8.
> /kunden in /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4
> /wp-includes/class-wp-textdomain-registry.php on line 103

New description:

 I got the error after the latest wordpress update:
 {{{
 Fatal error: Uncaught Error: Call to undefined function trailingslashit()
 in /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
 includes/class-wp-textdomain-registry.php:103

 Stack Trace
 1.
 WP_Textdomain_Registry->set()
 /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
 includes/l10n.php:784
 2.
 load_textdomain()
 /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
 includes/load.php:1401
 3.
 wp_load_translations_early()
 /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
 includes/load.php:278
 4.
 wp_maintenance()
 /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
 settings.php:74
 5.
 require_once('/kunden/365999_...')
 /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
 config.php:127
 6.
 require_once('/kunden/365999_...')
 /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-
 load.php:50
 7.
 require_once('/kunden/365999_...')
 /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4/wp-blog-
 header.php:13
 8.
 /kunden in /kunden/365999_20251/webseiten/michaelgorski.net/wp-dmg-www-v4
 /wp-includes/class-wp-textdomain-registry.php on line 103
 }}}

--

Comment:

 Hi there, welcome back to WordPress Trac!

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

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


More information about the wp-trac mailing list