Where is error log file

Hello
My wordpress site got down and i can see a white page with error message … i can’t not login …i can change directory of plugins to plugins-holds and login to wordpress dashboard …but my main concern is …where is log file saved ? i mean log file that must create on wordpress root directory for any php error .

thanks

PHP errors are not logged on our hosting. If you want to see the error message your website generates, you can enable Display Errors on your website.

You can enable that option using the “Alter PHP Config” section in the control panel, or by adding the .htaccess rule directly.

Note that some software forcefully override this config to hide errors. If so, your software may have debugging options to retrieve the error messages. WordPress, for example, has a WP_DEBUG option that will display a lot more information:

1 Like

Yes. Thanks

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.