Assuming you are running apache web server and php 7.2 on an Ubuntu PC.
Go to your php.ini file (/etc/php/7.2/apache2/php.ini), search for display_errors and set it to Off.
If Method 1 doesn't fix it for you, try Methods 2:
Method 2
Go to the index.php inside the public folder of your app and turn off display_errors like so:
ini_set('display_errors', 0); //Set this before $app->run();
1
Nava Bogatee
On
To display the comprehensive error, I added the following configurations.
Oh... You need to try any of the following:
Method 1
Assuming you are running
apacheweb server andphp 7.2on anUbuntuPC. Go to yourphp.inifile (/etc/php/7.2/apache2/php.ini), search fordisplay_errorsand set it toOff.If Method 1 doesn't fix it for you, try Methods 2:
Method 2
Go to the
index.phpinside thepublicfolder of yourappand turn offdisplay_errorslike so: