Debugging ve WP

Z Znalosti
Verze z 27. 9. 2017, 12:13, kterou vytvořil Admin (diskuse | příspěvky) (Založena nová stránka s textem „Kategorie:Návody WP Podle [https://tommcfarlin.com/wordpress-debug-logs/ WordPress Debug Logs Are More Important Than You Think] je potřeba vložit d…“)
(rozdíl) ← Starší verze | zobrazit aktuální verzi (rozdíl) | Novější verze → (rozdíl)

Podle WordPress Debug Logs Are More Important Than You Think je potřeba vložit do wp-config.php toto:

// 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 );

Štítky: debug