• Resolved blueazure000

    (@blueazure000)


    Hi, I’m trying to upgrade php to Ultra Fast PHP on Siteground, but I get a white screen & fatal error:

    Fatal error: Unknown: Failed opening required ‘/home/inspi348/public_html/wordfence-waf.php’ (include_path=’.:/usr/local/php73/pear’) in Unknown on line 0

    I tried uninstalling and deleting Wordfence but it didn’t resolve the issue.

    Can you help?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter blueazure000

    (@blueazure000)

    I also tried deleting the plugin with selecting the option of deleting all word fence data and database option at deactivation and that too caused the same fatal error.

    Plugin Support WFAdam

    (@wfadam)

    Hello @blueazure000 and thanks for reaching out to us!

    Looks like the path has 7.3 in it and I believe Ultra Fast runs PHP 8. We might have to adjust the path in your htaccess file or your php.ini file.

    If you could check both of these files, you want to locate something that reads:
    auto_prepend_file = “path/to/wordfence-waf.php”

    It looks like it thinks /usr/local/php73/pear is the current path. Your wordfence-waf.php should be in the root, along with your htaccess file.

    Let me know what you find!

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Getting fatal error when upgrading php’ is closed to new replies.