Deekshith
6 months ago
117
7
General

Undefined variable: _ENV Error

Posted 6 months ago by Deekshith

Hi Guys, Whenever there is a syntax error, the error is not displaying in the website instead it is showing like below,

Whoops, looks like something went wrong. (1/1) ErrorException Undefined variable: _ENV

in PrettyPageHandler.php line 231 at HandleExceptions->handleError(8, 'Undefined variable: _ENV', '/home/insig179/public_html/insightsallindia/vendor/filp/whoops/src/Whoops/Handler/PrettyPageHandler.php', 231, array('templateFile' => '/home/insig179/public_html/insightsallindia/vendor/filp/whoops/src/Whoops/Handler/../Resources/views/layout.html.php', 'cssFile' => '/home/insig179/public_html/insightsallindia/vendor/filp/whoops/src/Whoops/Handler/../Resources/css/whoops.base.css', 'zeptoFile' => '/home/insig179/public_html/insightsallindia/vendor/filp/whoops/src/Whoops/Handler/../Resources/js/zepto.min.js', 'prettifyFile' => '/home/insig179/public_html/insightsallindia/vendor/filp/whoops/src/Whoops/Handler/../Resources/js/prettify.min.js', 'clipboard' => '/home/insig179/public_html/insightsallindia/vendor/filp/whoops/src/Whoops/Handler/../Resources/js/clipboard.min.js', 'jsFile' => '/home/insig179/public_html/insightsallindia/vendor/filp/whoops/src/Whoops/Handler/../Resources/js/whoops.base.js', 'inspector' => object(Inspector), 'frames' => object(FrameCollection), 'code' => 'E_ERROR')) in PrettyPageHandler.php line 231

Any solution? please help me out.

Please sign in or create an account to participate in this conversation.