To enable debug and debug log to your WordPress site please copy and paste following 2 lines to your WordPress root directory under  config.php file

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

And then save or update  config.php file, then try to regenerate errors on your site, you will see there is a file created under the following path

wp-content/debug.log

 

How to find config.php file on your host, please follow the screenshot step by step

View post on imgur.com

View post on imgur.com

View post on imgur.com

Add the code before line  /* That's all, stop editing! Happy blogging. */

View post on imgur.com

Go to  /wp-content directory to see the  debug.log file

View post on imgur.com