Home » Categories » WordPress

Wordpress random 500 internal server error


Can you enable WP_DEBUG, to see if you can catch something there, as sometimes it is more useful than the server logs.

To do this, open

wp-config.php

located in the directory where WordPress is installed and then locate the line with the code

define('WP_DEBUG', false);

and change it to

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);


Ref:
https://stackoverflow.com/questions/31208302/wordpress-random-500-internal-server-error

Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Comments Comments
There are no comments for this article. Be the first to post a comment.
Related Articles RSS Feed
How to Add an Admin User to the WordPress Database via MySQL
Viewed 645 times since Thu, Dec 8, 2022
How to export a specific page in Elementor?
Viewed 414 times since Sat, Feb 26, 2022
حذف قیمت از محصولات ناموجود در ووکامرس
Viewed 1597 times since Sun, Nov 12, 2023
اجرای درخواست stats.wp.com/w.js
Viewed 859 times since Sat, Feb 12, 2022
Sorry, you are not allowed to access this page.
Viewed 745 times since Wed, Dec 1, 2021