• Resolved freemason8012

    (@freemason8012)


    Hi I get this message and haven’t a clue where to start. thanks

    Fatal error: strict_types declaration must be the very first statement in the script in /srv/disk5/4306487/www/lyndhurstlodge.org/wp-includes/abilities-api.php on line 89

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @freemason8012

    Looks like your website has been “flagged” by Google as “unsafe”.
    It might be hacked – you should check with your host – and I recommend looking at this FAQ: https://ww.wp.xz.cn/documentation/article/faq-my-site-was-hacked/

    Do you have more information on when you noticed this?
    Did it happen today, or has it been like this for some while?

    Bets regards
    Aris Kuckovic

    Thread Starter freemason8012

    (@freemason8012)

    thanks i suspect as much its been about a week, restoring a backup from the host hasn’t helped. Im probably going to start over, shame its been fine for 2 years.

    appreciate your support thanks

    @freemason8012

    I’ve tried this a couple of times myself, and what I did before is I’ve taken a backup of the site (from the server + SQL dump) and set it up using a localhost like Laragon or XAMPP. Then I’ve deleted everything except “wp-content”, “wp-config.php” and “.htaccess” – and unzipped a fresh install of WordPress, uploaded everything (except WordPress’ standard “wp-content”-folder). This has worked before – and then you can test and investigate the error in a “closed” environment.

    If this is not an option, and your host can’t help, then sadly you might need to start over.
    Good luck with the project

    /Aris

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.