WP 6.1.1 php7.4 Uncaught Error: Call to undefined function trailingslashit()
-
Hi
I update my WP site to 6.1.1 version
Server with PHP 7.3.33
No pluginsWhen I try to update my PHP version to 7.4
I getting HTTP ERROR 500server log error
PHP Fatal error: Uncaught Error: Call to undefined function trailingslashit() in /home/raco/public_html/staging/wp-includes/class-wp-textdomain-registry.php:103I make copy of a fresh clean wp-includes (6.1.1) Dir into my site .
no help, same problem
I change wp language to en_US
no help, same problemMy wp site loading only with PHP 7.3.33
class WP_Textdomain_Registry {}
line 103…
102 public function set( $domain, $locale, $path ) {
103 $this->all[ $domain ][ $locale ] = $path ? trailingslashit( $path ) : false;
104 $this->current[ $domain ] = $this->all[ $domain ][ $locale ];
105 }any idea ?
- The topic ‘WP 6.1.1 php7.4 Uncaught Error: Call to undefined function trailingslashit()’ is closed to new replies.