Wordpress:Debugging: verschil tussen versies

Geen bewerkingssamenvatting
Geen bewerkingssamenvatting
Regel 3: Regel 3:
<tt>('WP_DEBUG',false);</tt>
<tt>('WP_DEBUG',false);</tt>
door<br>
door<br>
<tt>
<nowiki>
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
define( 'WP_DEBUG', true );
// 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
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)
define( 'SCRIPT_DEBUG', true );
define( 'SCRIPT_DEBUG', true );
</tt>
</nowiki>
<references/>
<references/>
{{sys: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 11:59

  1. Open wp-config.php
  2. Vervang (Indien aanwezig)[1]

('WP_DEBUG',false); door
define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 ); define( 'SCRIPT_DEBUG', true );

  1. Informatie afkomstig van wpforms

Sjabloon:Sys:references

Links

Debugging in WordPress