site and wp-admin no longer work, log entry “Cannot redeclare login_header()”
-
Whilst I have stated the version of WP is 4.7, I really cannot tell which version it is. I could not find a suitable entry in the Mysql tables that may give me an indication of version & my wp-admin URL appears to be down with the same issue as the base URL.
a few days ago the /wp-admin URL stopped working and now the site itself is down.
I believe that the Error_log reveals that wp-load.php is called twice somehow, and the error comes up as the first function is attempted to be redeclared?
To verify this, I altered the name of the function, and the error log would report the same error with the newly named function. So this proves to me that somehow the wp-load.php file is being attempted twice.
PHP Fatal error: Cannot redeclare login_header() (previously declared in /home/mymy2116/public_html/wp-load.php:30) in /home/mymy2116/public_html/wp-load.php on line 30
the website has been working for a few years being hosted in Australia in a netregistry space, but my client recently reported ho could not log on.
The thing that throws me is that I cannot get into Admin to try anything. It also seems to me that the error_log file in the wp-admin folder and the base Url folder seem to be linked? I “think” that from either URL I cam getting the error logged.
I have also tried renaming the plugins sub-folder (under the wp-content folder) to no avail.
Website base URL is https://mybootid.com.au
please help ??
- The topic ‘site and wp-admin no longer work, log entry “Cannot redeclare login_header()”’ is closed to new replies.