Sometimes you may not be able to see what Php throws as error because of default php settings when you configure Plesk
To display php errors on the screen follow the below steps
Step 1: Go to Php settings of any domain in Plesk
Step 2: Just toggle the display settings as “On” and click on save