Hi @databell96,
Allow me to help.
I am using both SiteGround PHP 8.4.0 and Wordfence 7.11.7 (both latest versions) with no issues.
Try the following:
- Temporarily downgrade to SiteGround PHP 7.4.33
- Clear all cache (theme, plugins, SG’s Dynamic Cache and Memcached, CDN, and browser) then close your browser.
- Launch your browser in incognito or private mode and visit your site.
- Verify your site is once again working with no issues. If yes, continue. If not, you may have a conflict with another plugin.
- Log into your site and enable Wordfence WAF (Learning Mode).
- Log out of your site.
- Upgrade to SiteGround PHP 8.0.30, wait 30 seconds, then visit your site. If no issues, then continue to upgrade to a higher PHP level up to PHP 8.4.0. One step at a time.
- Once you reach SiteGround PHP 8.4.0 with no issues, you’re good to go.
Note: If for some reason, Step 7 or 8 give you an issue, either you have a plugin conflict or your htaccess file is corrupt. If your htaccess file is corrupt, to keep things simple, perform a clean uninstall of Wordfence, then verify the htaccess rule provided below is not present. If present, delete it, then reinstall Wordfence and activate WAF (learning mode).
# BEGIN Wordfence WAF
<IfModule mod_php5.c>
php_value auto_prepend_file '/home/customer/www/omniaaerospace.com/public_html/wordfence-waf.php'
</IfModule>
<IfModule mod_php7.c>
php_value auto_prepend_file '/home/customer/www/omniaaerospace.com/public_html/wordfence-waf.php'
</IfModule>
<IfModule mod_php.c>
php_value auto_prepend_file '/home/customer/www/omniaaerospace.com/public_html/wordfence-waf.php'
</IfModule>
<Files ".user.ini">
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
</Files>
# END Wordfence WAF
As a last resort, contact SiteGround Support (via chat or ticket) for assistance.
Hope this helps.
Cheers!