• I had installed another plugin (Seraphinite Accelerator) and then cleared the cache on WP Fastest Cache. Then my website broke and just displays the wp-config page and I can’t access the wp dashboard. I’ve tried deactivating every plugin from my bluehost dashbaord, but no luck. Any ideas? I also found this error:

    PHP Fatal error: Uncaught Error: Call to undefined function nocache_headers() in /home4/concrft9/public_html/wp-admin/admin.php:37
    Stack trace: 0 /home4/concrft9/public_html/wp-admin/options-general.php(10): require_once() 1 {main}

    thrown in /home4/concrft9/public_html/wp-admin/admin.php on line 37

    I’m running

    • WordPress Version: 6.8
    • WooCommerce Version: 9.8.1

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • This is looking like it’s likely a PHP issue. But before I get into that we did see the sensitive information was previously posted and that it has been removed. You’ll want to make sure you update the your database name, username, password, keys, and salts immediately. 

    For sure take a look to make sure PHP is running, You can throw in a phpinfo.php in your WordPress files and add the following:

    <?php phpinfo(); ?>

    Then just visit Visit yoursite.com/phpinfo.php. If it’s just code and not the PHP info, the server isn’t running PHP and we can help you out to get that fixed.

    If the PHP is working fine, you can try to replace the .htaccess file with a fresh copy (You can pull the code from various sites like WPbeginner but it should look like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Just be sure to save the old one, we typically just rename it adding something like .old to the end so you save any important code you may need to reuse or to just revert it back by changing the name back to default. You may also want to peek at the wpconfig.php file to make sure any plugins modified anything breaking it. You may have to do a bit of research if you are unfamiliar with standard code in these files and what will break it.

    The last thing you can try is replacing the core website files. You can use the “Scan Core Files” button in the security tab in Your Bluehost account manager. Just select the WordPress install from the Websites tab and click the Security option at the top. If all else fails, please reach out to our support team by phone or chat and we’ll take a deeper look, you may ask them to run a malware scan just to be safe here.

    Thread Starter bflores0094

    (@bflores0094)

    Fixed thank you! the wp-config had the <?php removed from the first line somehow?? I re added it and I was able to get into the dashboard again. Thank you for your help

    Beautiful! Glad you got that worked out.

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

The topic ‘Site is down after clearing cache’ is closed to new replies.