Hello,
After update wordpress to latest version, I got this error:
Fatal error: Cannot redeclare print_emoji_styles() (previously declared in /home/thunting/domains/ir/public_html/wp-includes/formatting.php:5846) in /home/thunting/domains/ir/public_html/wp-includes/deprecated.php on line 5904
There has been a critical error on this website.
formatting.php code is:
function print_emoji_styles() {
static $printed = false;
if ( $printed ) {
return;
}
$printed = true;
and deprecated code is:
function print_emoji_styles() {
_deprecated_function( __FUNCTION__, '6.4.0', 'wp_enqueue_emoji_styles' );
static $printed = false;
if ( $printed ) {
return;
}
$printed = true;
website is down now. I mark error line with red colour.
I will be thankful if help me to solve this problem.
Thanks,
After update wordpress to latest version, I got this error:
Fatal error: Cannot redeclare print_emoji_styles() (previously declared in /home/thunting/domains/ir/public_html/wp-includes/formatting.php:5846) in /home/thunting/domains/ir/public_html/wp-includes/deprecated.php on line 5904
There has been a critical error on this website.
formatting.php code is:
function print_emoji_styles() {
static $printed = false;
if ( $printed ) {
return;
}
$printed = true;
and deprecated code is:
function print_emoji_styles() {
_deprecated_function( __FUNCTION__, '6.4.0', 'wp_enqueue_emoji_styles' );
static $printed = false;
if ( $printed ) {
return;
}
$printed = true;
website is down now. I mark error line with red colour.
I will be thankful if help me to solve this problem.
Thanks,
Last edited: