wp error log config
- Access your WordPress website's files using either an FTP client or your web hosting control panel.
- Locate the wp-config.php file in the root directory of your WordPress installation.
- Open the wp-config.php file using a text editor.
- Add the following line of code to enable error logging:
define( 'WP_DEBUG_LOG', true );
- Save the changes to the wp-config.php file and upload it back to your server.
- To view the error logs, navigate to wp-content directory via FTP or file manager and look for a file named debug.log.