Fatal Error
-
Hi, strange error:
Got error ‘PHP message: PHP Parse error: syntax error, unexpected ‘else’ (T_ELSE) in /public_html/cms/wp-includes/l10n.php on line 259
PHP message: PHP Fatal error: Uncaught Error: Call to undefined function __() in /public_html/cms/wp-includes/class-wp-locale.php:122
Stack trace:\n#0 /public_html/cms/wp-includes/class-wp-locale.php(104): WP_Locale->init()
#1 /public_html/cms/wp-includes/load.php(1222): WP_Locale->__construct()
#2 /public_html/cms/wp-includes/class-wp-fatal-error-handler.php(161): wp_load_translations_early()
#3 /public_html/cms/wp-includes/class-wp-fatal-error-handler.php(143): WP_Fatal_Error_Handler->display_default_error_template(Array)
#4 /public_html/cms/wp-includes/class-wp-fatal-error-handler.php(50): WP_Fatal_Error_Handler->display_error_template(Array)
#5 [internal function]: WP_Fatal_Error_Handler->handle()\n#6 {main}\n thrown in /public_html/cms/wp-i…\n’, referer: https://.de/cms/wp-admin/post.php?post=2&action=editAny ideas? The code is guaranteed to be replaced correctly…
function __( $text, $domain = 'default' ) { if ( defined( 'M2I_MAGE_DIR' ) && class_exists( 'M2I_External' ) && M2I_External::$needs_mage_translate ) { return M2I_External::translate( func_get_args() ); } else { return translate( $text, $domain ); } }
- The topic ‘Fatal Error’ is closed to new replies.