• I am encountering a critical issue on my WordPress website that has rendered the site non-functional. The following error is displayed:
    Fatal error: Uncaught Error: Call to undefined function nocache_headers() in /home/k75xsfcjg0d6/public_html/wp-admin/admin.php:36 Stack trace: #0 /home/k75xsfcjg0d6/public_html/wp-admin/index.php(10): require_once() #1 {main} thrown in /home/k75xsfcjg0d6/public_html/wp-admin/admin.php on line 36

    Additionally, this error exposes the entire wp-config.php file content on the website, revealing sensitive information such as database credentials, authentication keys, and salts. This is a serious security concern, and I urgently need assistance to:

    1. Stop the wp-config.php code from being displayed on the website.
    2. Resolve the nocache_headers() error that is preventing the website from functioning.

      The website is currently down, and critical information is exposed to anyone visiting the site, posing a significant security risk.
      Please advise on how to fix this issue and prevent the wp-config.php from being displayed in the future.
Viewing 1 replies (of 1 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 SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. Hopefully, this will force the default theme to activate and rule out a theme-specific issue (theme functions can interfere like plugins).

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.