500 error on just about every site

hello guys,

OK – sad question.

my server went from self-managed to managed.

when it did, they tweaked some stuff to standardize my pimped out server for ease of maintenance.

what happens now is that when i go to almost any of my sites, i get a 500 error, the server can’t handle the request.

when escalating this to the hosting kids, they disable some plugins, and do a random reload test, and then say that they fixed it.

but – 1 – i can’t just live without functionality. i mean, really?

and 2 – the problem only happens on wordpress.

it’s especially messy when trying to go to /wp-admin, as opposed to the home page.

can you please have a lookie see? i’m making extra notes of other sites influenced in the support access space on the site itself.

thanks

symi.

  • Kasia Swiderska
    • Support nomad

    Hello symi,

    Well, when I try to access your site I get 500 error. That is ugly error to fix because it can have so many reasons https://premium.wpmudev.org/blog/500-internal-server-error/

    I’m afraid you have to go back to hosting provider and ask what is in server logs. In logs there is reason for those errors.

    If plugins are causing this, then why? Because of memory limits? They can be increased and I would start with that https://premium.wpmudev.org/blog/increase-memory-limit/

    But first – they have to see what is in error logs. Let us know what they will find there.

    kind regards,

    Kasia

  • Symi
    • The Crimson Coder

    Hi Kasia, I’ve since moved hosting.

    And the error prevails it seems.

    File permissions are OK.

    PHP seems to be normal.

    When i replace the edited php.info with teh default server one, this error comes up:

    http://pajamapreneur.guru

    Fatal error: Cannot redeclare _filter_query_attachment_filenames() (previously declared in /home/pajama10/public_html/wp-includes/post.php:6204) in /home/pajama10/public_html/wp-admin/includes/post.php on line 1169

    Any ideas?

  • Michael
    • The Incredible Code Injector

    Hi all,

    when I have a 500 error, which I frequently have, these are the steps I take:

    1. Stay calm

    2. try to login using http://www.YOURSITE.com/wp-admin/ so what I mean is the address of your site and you add /wp-admin/ at the end.

    If number 2 succeeds: de-activate all plugins and see if the problem is still there

    If number 2 isn’t possible:

    a. use an FTP-program to connect to your server

    b. rename the folder wp-content/plugins to something like wp-content/pluginsOLD

    c. make a new empty folder called wp-content/plugins

    Test again. This helped my a zillion times in the past, and I’m sure it will in the future.

  • Nithin
    • Support Wizard

    Hi Symi,

    Hope you are doing good today. :slight_smile:

    When i replace the edited php.info with teh default server one, this error comes up:

    Does it work when your replace the edited php.info back? Please do check the steps mentioned by Michael, and see whether that helps, ie renaming the plugins folder, in order to eliminate any conflicts from the plugins side.

    Fatal error: Cannot redeclare _filter_query_attachment_filenames() (previously declared in /home/pajama10/public_html/wp-includes/post.php:6204) in /home/pajama10/public_html/wp-admin/includes/post.php on line 1169

    The fatal error could also happen with the core files within WordPress, could you please re-upload the /wp-admin again from a fresh download of WordPress, and then check whether that solves the issue.

    https://wordpress.org/wordpress-4.7.1.zip

    Please do let us know how that goes, so that we could give a closer look. Have a nice weekend. :slight_smile:

    Kind Regards,

    Nithin

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.