HTTP ERROR 500 Debugging
April 2, 2025 · AI Conversations
—
### ✅ 1. **Enable Debug Mode in WordPress**
Edit your `wp-config.php` file and add or update these lines:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );
@ini_set( 'display_errors', 1 );
This will print PHP errors directly on the page (for development only).
—
### ✅ 2. **Check the Error Log**
Once debug mode is on, check this file:
/wp-content/debug.log
This will contain detailed PHP errors if `WP_DEBUG_LOG` is enabled.
—
### ✅ 3. **Check Server Error Logs**
If WordPress doesn’t show anything, check your hosting or server logs. On Apache/Linux:
/var/log/apache2/error.log
On Nginx:
/var/log/nginx/error.log
Or use your hosting control panel’s error log viewer.
—
### ✅ 4. **Common Fixes for 500 Errors**
– **Plugin Conflict**: Rename the `wp-content/plugins` folder temporarily to disable all plugins.
– **Theme Issue**: Rename the active theme folder in `wp-content/themes`.
– **Corrupt `.htaccess`**: Rename `.htaccess` and visit **Settings > Permalinks** to regenerate.
– **Memory Limit**: Increase PHP memory in `wp-config.php`:
define( 'WP_MEMORY_LIMIT', '256M' );
—
Would you like help reviewing the error from your log file or enabling debug mode on your setup?
a:27:{i:0;s:41:"Ultimate_VC_Addons/Ultimate_VC_Addons.php";i:1;s:30:"advanced-custom-fields/acf.php";i:2;s:51:"all-in-one-wp-migration/all-in-one-wp-migration.php";i:3;s:36:"contact-form-7/wp-contact-form-7.php";i:4;s:41:"dk-pricr-responsive-pricing-table/rpt.php";i:5;s:29:"dt-the7-core/dt-the7-core.php";i:6;s:32:"duplicate-page/duplicatepage.php";i:7;s:23:"elementor/elementor.php";i:8;s:49:"fg-joomla-to-wordpress/fg-joomla-to-wordpress.php";i:9;s:25:"go_pricing/go_pricing.php";i:10;s:16:"gotmls/index.php";i:11;s:66:"header-footer-code-manager/99robots-header-footer-code-manager.php";i:12;s:35:"insert-headers-and-footers/ihaf.php";i:13;s:27:"js_composer/js_composer.php";i:14;s:63:"limit-login-attempts-reloaded/limit-login-attempts-reloaded.php";i:15;s:67:"make-column-clickable-elementor/make-column-clickable-elementor.php";i:16;s:50:"official-facebook-pixel/facebook-for-wordpress.php";i:17;s:27:"popup-maker/popup-maker.php";i:18;s:23:"revslider/revslider.php";i:19;s:45:"simple-page-ordering/simple-page-ordering.php";i:20;s:27:"updraftplus/updraftplus.php";i:21;s:24:"wordpress-seo/wp-seo.php";i:22;s:39:"wp-file-manager/file_folder_manager.php";i:23;s:31:"wp-migrate-db/wp-migrate-db.php";i:24;s:61:"wp-reviews-plugin-for-google/wp-reviews-plugin-for-google.php";i:25;s:33:"wpcf7-redirect/wpcf7-redirect.php";i:26;s:33:"wps-hide-login/wps-hide-login.php";}
a:26:{i:0;s:41:"Ultimate_VC_Addons/Ultimate_VC_Addons.php";i:1;s:30:"advanced-custom-fields/acf.php";i:2;s:51:"all-in-one-wp-migration/all-in-one-wp-migration.php";i:3;s:36:"contact-form-7/wp-contact-form-7.php";i:4;s:41:"dk-pricr-responsive-pricing-table/rpt.php";i:5;s:29:"dt-the7-core/dt-the7-core.php";i:6;s:32:"duplicate-page/duplicatepage.php";i:7;s:23:"elementor/elementor.php";i:8;s:49:"fg-joomla-to-wordpress/fg-joomla-to-wordpress.php";i:9;s:25:"go_pricing/go_pricing.php";i:10;s:16:"gotmls/index.php";i:11;s:66:"header-footer-code-manager/99robots-header-footer-code-manager.php";i:12;s:35:"insert-headers-and-footers/ihaf.php";i:13;s:27:"js_composer/js_composer.php";i:14;s:63:"limit-login-attempts-reloaded/limit-login-attempts-reloaded.php";i:15;s:67:"make-column-clickable-elementor/make-column-clickable-elementor.php";i:16;s:50:"official-facebook-pixel/facebook-for-wordpress.php";i:17;s:23:"revslider/revslider.php";i:18;s:45:"simple-page-ordering/simple-page-ordering.php";i:19;s:27:"updraftplus/updraftplus.php";i:20;s:24:"wordpress-seo/wp-seo.php";i:21;s:39:"wp-file-manager/file_folder_manager.php";i:22;s:31:"wp-migrate-db/wp-migrate-db.php";i:23;s:61:"wp-reviews-plugin-for-google/wp-reviews-plugin-for-google.php";i:24;s:33:"wpcf7-redirect/wpcf7-redirect.php";i:25;s:33:"wps-hide-login/wps-hide-login.php";}
Let me know if you'd like to remove or add any other plugins from this list.