Debugging ve WP: Porovnání verzí
Z Znalosti
m |
m |
||
| Řádek 10: | Řádek 10: | ||
define( 'WP_DEBUG_DISPLAY', false ); | define( 'WP_DEBUG_DISPLAY', false ); | ||
@ini_set( 'display_errors', 0 ); | @ini_set( 'display_errors', 0 ); | ||
| − | |||
Další množství článků na toto téma viz [https://www.google.com/search?client=ubuntu&channel=fs&q=wordpress+debugging&ie=utf-8&oe=utf-8 google]. | Další množství článků na toto téma viz [https://www.google.com/search?client=ubuntu&channel=fs&q=wordpress+debugging&ie=utf-8&oe=utf-8 google]. | ||
| + | |||
| + | {{Tags}} debug | ||
Aktuální verze z 27. 9. 2017, 12:17
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 );
Další množství článků na toto téma viz google.
Štítky: debug