An error is occurring on both the WordPress admin panel and the website
-
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 36Additionally, 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:- Stop the
wp-config.php
code from being displayed on the website. - 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 thewp-config.php
from being displayed in the future.
- Stop the
- You must be logged in to reply to this topic.