• After developing my site with local server (WAMP) which worked fine and uploaded to live domain mbmedia.co.nz, I get a 500 error.

    Have tried all steps here:
    https://www.wpbeginner.com/wp-tutorials/how-to-fix-the-internal-server-error-in-wordpress/ to no avail.

    Running PHP version 5.6 on my server.

    Tried installing fresh copy of wordpress, it works except when you go to wp-admin it still shows 500 error.

    Checking the error log on the server it has been saying the whole time:

    [16-Oct-2018 19:16:11 UTC] PHP Fatal error: Interface ‘IteratorAggregate’ not found in /home/**********/public_html/www.mbmedia.co.nz/wp-includes/Requests/Cookie/Jar.php on line 15

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

Viewing 2 replies - 1 through 2 (of 2 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 Mytchall Bransgrove

    (@mytchb)

    Thanks,

    I have tried playing with htaccess file (deleting it, creating new one etc) and deactivating themes/plugins.

    At the moment the website has a raw install of WordPress with only default plugins/themes.

    The server error log has a lot of entries all the same:

    [16-Oct-2018 19:16:11 UTC] PHP Fatal error: Interface ‘IteratorAggregate’ not found in /home/**********/public_html/www.mbmedia.co.nz/wp-includes/Requests/Cookie/Jar.php on line 15

    I’ve tried searching for the Interface ‘IteratorAggregate’ relating to WordPress but couldn’t find anything.

    I’ve tried replacing the file ‘wp-includes/Requests/Cookie/Jar.php’ but hasn’t helped.

    Website is on a subdirectory (not the root as shown in error path) if that changes anything?

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

The topic ‘Error in logs after install’ is closed to new replies.