There should be an entry in your cpanel somewhere to view the error log. If there isn’t anything in there you probably would have to search your files for one. It’s usually in the root of the FTP or in a logs folder or possibly in the same folder the file causing the error is and should be called error_log or something of that nature.