Every individual account has error logs enabled by default on the cPanel account whether it is on shared hosting or on dedicated hosting.
Sometimes your host has disabled displaying of errors on front end for all the accounts in that case you cannot see any error while accessing your web site through web browser.
To check PHP errors a script has, you would need to login to your cPanel and then go to “File Manager” and then find the file named “error_logs” under your public_html directory or under any sub-directory where the script is installed.
Just edit/view the file, you will see all the errors there with the reference of page and code line. You can solve them accordingly.
That is all!