WordPress logs

Solved910 viewsWebhosting
0

How can I log errors in WordPress

Role: Administrator Web: https://www.wedos.com Business card: Unlimited web hosting with the lowest price guarantee, the cheapest domain registrar in the Czech Republic, virtual and dedicated servers.
Question is closed for new answers.
PŘ140434 Selected answer as best 23. 11. 2020
0
34 - WEDOS Internet, a.s. 0 Comments

Within WP it is possible to activate logging. Activation is performed in the wp-config.php file

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'SCRIPT_DEBUG', true );

wp-config.php already contains the code

define( ‚WP_DEBUG‘, false );

Replace it with the three lines above. The log outputs are then displayed in the “/wp-content/debug.log” by default.According to the listed errors, a specific solution can then be found on the Internet. More also here https://wordpress.org/support/article/debugging-in-wordpress/

Role: Support Web: https://www.wedos.com Business card: Billing and Sales manager
PŘ140434 Selected answer as best 23. 11. 2020
You are viewing 1 out of 1 answers, click here to view all answers.

Categories