• Hi guys.

    For three days every 4-6 hours I get Error 500 on my website. Renaming/deleting .htaccess works and website is back online in no time, but this is really annoying. I haven’t installed anything recently, nor have I updated before the start of the problem. I have already tried resetting plugins and turning off those which I have updated most recently. Switching from PHP 7.2 to 7.3 didn’t help either.

    Do you have any idea what should I do in order to fix this annoying error 500 problem?

    Cheers and thanks for help.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • try to enable WordPress debug to find out the actual error

    Debugging in WordPress

    Can you check the error log? It might contain information about the error.

    I took a look at the site then tested the DNS where IntoDNS.com came back to say it couldn’t find any DNS records for your domain. That surprised me but it can happen once in a while. I did find an IP address for one MX host and that did point at a web host that made sense under your pl TLD.

    So I’d like for you to call your web host and ask them about the DNS records and ask them for help with the 500 errors. It’s possible the server is breaking down for some reason and then finding it’s watchdog trigger which then reboots it.

    While talking to your host you might ask them about their update intentions on the PHP itself as I think PHP 7.4 may be available for your server by now.

    If the server error logs point back to WordPress then let us know if you need more help from us.

    Thread Starter thomasward9

    (@thomasward9)

    Okay, so I contacted with my host’s support. They checked out whether everything works on their end and everything is fine with server and DNS, the problem must be caused by WordPress.

    I enabled debugging and after few hours encountered the problem again. This is debug.log file content:

    [30-Jan-2020 12:11:03 UTC] PHP Notice:  Undefined index: cookielawinfo-checkbox-non-necessary in /wp-content/plugins/cookie-law-info/public/class-cookie-law-info-public.php on line 387
    [30-Jan-2020 12:11:03 UTC] PHP Notice:  Undefined index: cookielawinfo-checkbox-non-necessary in /wp-content/plugins/cookie-law-info/public/class-cookie-law-info-public.php on line 409

    I disabled the plugin and as of now the site works. If it crashes again, I will write another post.

    Is it acutally probable that this was the reason behind error 500?

    • This reply was modified 4 years, 10 months ago by thomasward9.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Constant error 500’ is closed to new replies.