There are two aspects to WP_DEBUG
:
- It configures PHP runtime to desired state, this is handled once in
wp_debug_mode()
. - It is used as a state flag, that can be arbitrarily checked by code. Widely done both in core and more so in third party code.
It is hard to make a guess how either of these can lead specific install in (or out) of error 500. Your main issue is mostly lack of information of what precisely that error is, not its interaction with debug mode.
I would shake your hosting support (or other appropriate party) to provide more information about error 500. That might require more serious access to server and maybe even reconfiguring Apache. Out of WordPress land.
Related Posts:
- Define WP_DEBUG conditionally / for admins only / log errors (append query arg for all links?)
- Control verbosity level of WP DEBUG?
- How to check if debug is true and can I use it for my own code? [duplicate]
- Suppress deprecated notices
- Debug.log file is never created?
- How to debug when error_log not working as expected
- Where should I tell WordPress where error_log messages should be written?
- Disable Debug Log Programmatically
- Using debug log in production, is that a security concern?
- PHP-FPM WordPress Debug
- Wordress debug log is not working
- Why does WordPress keep showing me error messages?
- Why does WP_DEBUG only work after wp_debug_mode() is called? [closed]
- what are WP_DEBUG conditions?
- There is no any line related the error but it says critical error
- error log is going to the wrong location, WP_DEBUG_LOG is ignored
- WP Debug set to true but still wsod
- TGM plugin error in Theme Check Plugin
- How do I find the version of WordPress I have from the source code?
- Debugging in WordPress
- Debugging WordPress themes with Xdebug, real time html output
- Easy code troubleshooting in wordpress
- Tutorials for Unit-Testing in WordPress and for unit-test.svn.wordpress.org?
- Nginx – Prevent Access to Debug file [closed]
- How to debug vars inside function at functions.php file?
- How can I determine what php files are being called by a given WP page?
- How do I set up Debugging?
- error_log is not working as expected in functions.php file
- Inserting Post Using wp_insert_post. How to Fill Yoast Plugin SEO Fields
- How to empty debug.log when file size is above xyMB?
- Intercepting wp_mail() to view contents
- Where’s The Best Place to use Register_Shutdown_Function()?
- Is it possible to set another language for debugging messages?
- add_sub_menu page() to be replaced by add_theme_page()
- Send specific users an email when posts are published
- Super WordPress debugging toolkit and triage procedures? [duplicate]
- if(!is_user_logged_in()) returns true when 404
- How to dump/log default values that are passed to hooks/filter functions?
- xdebug connects but won’t break in WordPress with vvv
- The plugin generated xx characters of unexpected output. How to solve?
- debugging wordpress
- How to show the error causing the ‘There has been a critical error on your website’?
- wp-includes/comment-template.php:26 – Trying to get property of non-object
- How do you change error reporting to only show errors in WordPress?
- XAMPP-VM Mac OS Mojave wordpress debugging using XDebug
- Debugging preview not working problem
- Always keep a parameter in URL?
- How can I understand what is the cause of WP death (white screen)?
- “Undefined index” error when saving empty array with checkboxes
- White screen on front page only
- Debug Notice: X is deprecated since version 4.5! Use Y instead
- Debug 500 Internal Server Error on WordPress blog
- “… logged-in …” seems top of my website
- PHP Notice – Custom Function
- Suddenly lots of bugs in my WP installation? [closed]
- Notice: Undefined index [closed]
- Getting a WordPress Debug Strategy
- Notice: attribute_escape is deprecated
- How to disable JS? info windows from WP-FirePHP
- How to find line of code causing wordpress deprecation notices
- Best location for a debugging script
- Debug Errors, site health
- WordPress Cron job, 302 response
- How can I remove text above the header? [closed]
- Best place to call xdebug helper functions?
- Running xDebug and NPM at the same time?
- 3,840 cronjobs with no action!
- WordPress 6.x / PHP 8.x deprecated warnings in development environment
- Solution to White Screen of Death that does not require Web Server access?
- strange characters in debug file
- Step debug wp cron run – ideas how to get this working in PHPStorm with Xdebug?
- Display Custom Taxonomy Dropdown posts
- Correct my shortcode for displaying a category?
- How to display only specific Error types in debug.log? No notices, warnings, etc
- A bug happens in the Footer and the code keeps appearing
- Error on add_submenu_page() declaration
- Notice: Undefined index: post_title error
- Debugging Mysterious PHP Addition
- WordPress seems broken when logged of
- Finding which functions were called
- Error on debug.log PHP Stric Standards and PHP notice
- Unable to load Posts list & Getting error 500 error
- Weird bug regarding the_excerpt()
- Unnessary character on post after restore
- Can’t show debug even after modifying wp-config
- Which language files are loaded?
- How do I issue a warning in a wordpress plugin?
- Method ‘post_title’ not found in class.
- How can I turn off WP_DEBUG_LOG messages coming from a specific plugin or theme?
- Theme parts path location dump
- Changes to WordPress database using phpMyAdmin not reflected on blog
- How do you get the docroot directory?
- Some ways to debug code
- Why debug.log doesn’t work?
- debug notice on my WordPress site [closed]
- How to check whether functions is deprecated or not?
- Any wordpress development tool to query its functions?
- WordPress not available to file using wp-env for xdebug requests
- when I Try to Create new Post or Page it goes Draft(I can’t post Anything)
- Automated WordPress update failed to complete – but all updates fail with code -1