• Resolved marcia-slk

    (@marcia-slk)


    Hi,

    My clients website was hacked recently. I have had to perform a manual update of the latest wordpress – but i’m getting this error:

    Fatal error: Call to undefined function %x5/(.*)/pre() in /home/aktrenchless/html/wp-content/themes/hulk/functions.php on line 1

    But I’m not a php expert and not sure what I should be changing? I have replaced the preg_replace with reg_replace_callback on a few files and this is the last thing stopping the website from working. Help?

    [Large code excerpt removed by moderator per forum rules. Please use the pastebin for all large code excerpts. It works better anyway.]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter marcia-slk

    (@marcia-slk)

    Thanks James,

    The issue was still persisting with deleting the old plugins and uploading the new plugins – After deleting the theme (which was a 2012 version) everything started working ok – will have to upgrade to the latest version.

    Moderator James Huff

    (@macmanx)

    Excellent, updating the theme should take care of it. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: Call to undefined function %x5/(.*)/pre() in /home/aktrenchless/ht’ is closed to new replies.