Title: Constant error 500
Last modified: January 30, 2020

---

# Constant error 500

 *  [thomasward9](https://wordpress.org/support/users/thomasward9/)
 * (@thomasward9)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/constant-error-500/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconstant-error-500%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Liew Cheon-Fong](https://wordpress.org/support/users/lcf/)
 * (@lcf)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/constant-error-500/#post-12379551)
 * try to enable WordPress debug to find out the actual error
 * > [Debugging in WordPress](https://wordpress.org/support/article/debugging-in-wordpress/)
 *  [a2hostingrj](https://wordpress.org/support/users/a2hostingrj/)
 * (@a2hostingrj)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/constant-error-500/#post-12379553)
 * Can you check the error log? It might contain information about the error.
 *  [JNashHawkins](https://wordpress.org/support/users/jnashhawkins/)
 * (@jnashhawkins)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/constant-error-500/#post-12379691)
 * 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](https://wordpress.org/support/users/thomasward9/)
 * (@thomasward9)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/constant-error-500/#post-12381892)
 * 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 6 years, 3 months ago by [thomasward9](https://wordpress.org/support/users/thomasward9/).

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

The topic ‘Constant error 500’ is closed to new replies.

## Tags

 * [error500](https://wordpress.org/support/topic-tag/error500/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [thomasward9](https://wordpress.org/support/users/thomasward9/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/constant-error-500/#post-12381892)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
