Most hosting panels create in the root directory of sites the file error_log, which records a report of errors on the site. In the Direct Admin panel to report errors on the site created a separate section "Site Summary / Statistics / Logs", is located in the "System Info & Files".
In this section, find the domain you are interested in. Then click on the "Error Log" item in the "Logs" column.
Then you will see an error log showing a description of the errors that occurred during the execution of the scripts.