• Hi, I am working on a test site, http://illustrata.net/wptest/

    SIte works fine, but I suddenly I get a ‘Server error 500’ when I try to enter the Admin (http://illustrata.net/wptest/wp-admin, or clicking on Dashboard or Edit Page/Post when I am in Admin)—even though I am already logged in. The error in the WP error log is:

    PHP Fatal error: Cannot redeclare add_settings_error() (previously declared in /home/illustra/public_html/wptest/wp-admin/includes/template.php:1361) in /home/illustra/public_html/wptest/wp-admin/includes/template.php on line 1581

    The level is a WP beta version, it is probably that or plugin, I just don’t know how to determine which, or how to install an earlier version of WP if I can’t get into admin.

    I am ready to transfer the site to a live one (was using WP Clone) once it is stable.

    Thanks very much to anyone who has any suggestions. Worst case, I’ll go back to a server backup from a few days ago…

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    Internal server errors (error 500) are often caused by plugin or theme function conflicts, so if you have access to your admin panel, try deactivating all plugins. If you don’t have access to your admin panel, 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, try switching to the default theme for your version of WordPress to rule-out a theme-specific issue. If you don’t have access to your admin panel, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue.

    If that does not resolve the issue, it’s possible that a .htaccess rule could be the source of the problem. To check for this, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and rename the .htaccess file. If you can’t find a .htaccess file, make sure that you have set your SFTP or FTP client to view invisible files.

    If you weren’t able to resolve the issue by either resetting your plugins and theme or renaming your .htaccess file, we may be able to help, but we’ll need a more detailed error message. Internal server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that time period. If you don’t have access to your server error log, ask your hosting provider to look for you.

    Thread Starter illustrata

    (@illustrata)

    Thanks for this, I will give it a try and report back.

    Thread Starter illustrata

    (@illustrata)

    Hi, Tried all three, no help.

    Since this is a test site, I’m going to try a restore from before 4.4.2 was installed automatically. If that doesn’t work, I’ll be back…

    Thanks.

    Thread Starter illustrata

    (@illustrata)

    This has now spread to a variety (though not all) installations on the same host; they have different WordPress versions and errors from the log so I can’t blame it on 4.4.2.

    I am in touch with the host but I really need to get to the bottom of this, if there is a way to further diagnose what’s actually going on.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Fatal error: Cannot redeclare add_settings_error()’ is closed to new replies.