Wordpress:Debugging: verschil tussen versies
Nieuwe pagina aangemaakt met '# Open wp-config.php # Vervang (Indien aanwezig)<ref name="wpforms">Informatie afkomstig van [https://wpforms.com/developers/how-to-enable-debugging-in-wordpress/ w...' |
Geen bewerkingssamenvatting |
||
| Regel 1: | Regel 1: | ||
# Open wp-config.php | # Open wp-config.php | ||
# Vervang (Indien aanwezig)<ref name="wpforms">Informatie afkomstig van [https://wpforms.com/developers/how-to-enable-debugging-in-wordpress/ wpforms]</ref> | # Vervang (Indien aanwezig)<ref name="wpforms">Informatie afkomstig van [https://wpforms.com/developers/how-to-enable-debugging-in-wordpress/ wpforms]</ref><br> | ||
<tt>('WP_DEBUG',false);</tt> | <tt>('WP_DEBUG',false);</tt> | ||
door | door<br> | ||
<tt> | <tt> | ||
// Enable WP_DEBUG mode | // Enable WP_DEBUG mode | ||
define( 'WP_DEBUG', true ); | define( 'WP_DEBUG', true ); | ||
// Enable Debug logging to the /wp-content/debug.log file | // Enable Debug logging to the /wp-content/debug.log file | ||
define( 'WP_DEBUG_LOG', true ); | define( 'WP_DEBUG_LOG', true ); | ||
// Disable display of errors and warnings | // Disable display of errors and warnings | ||
define( 'WP_DEBUG_DISPLAY', false ); | define( 'WP_DEBUG_DISPLAY', false ); | ||
@ini_set( 'display_errors', 0 ); | @ini_set( 'display_errors', 0 ); | ||
// Use dev versions of core JS and CSS files (only needed if you are modifying these core files) | // Use dev versions of core JS and CSS files (only needed if you are modifying these core files) | ||
define( 'SCRIPT_DEBUG', true );</tt> | define( 'SCRIPT_DEBUG', true ); | ||
</tt> | |||
<references/> | <references/> | ||
==Links== | ==Links== | ||
{{#tag:easyview|https://wordpress.org/support/article/debugging-in-wordpress/|type=iframe|thumbnail=Debugging in WordPress|direct=true}} | {{#tag:easyview|https://wordpress.org/support/article/debugging-in-wordpress/|type=iframe|thumbnail=Debugging in WordPress|direct=true}} | ||
Versie van 18 jan 2021 12:58
- Open wp-config.php
- Vervang (Indien aanwezig)[1]
('WP_DEBUG',false);
door
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
// Use dev versions of core JS and CSS files (only needed if you are modifying these core files)
define( 'SCRIPT_DEBUG', true );