How To Hide Error Messages?

Hey guys!

From time to time I get some errors in the form of "undefined index" appearing on page load. It happens in storefront and admin/vendor panel. The error messages disappear upon refresh. Here's a screenshot of what i'm talking about: http://prntscr.com/jw2crd

I'm looking for a simple code fix to remove this dialog from appearing. Does anyone have a solution they'd be so generous to share?

Many thanks

Hey guys!

From time to time I get some errors in the form of "undefined index" appearing on page load. It happens in storefront and admin/vendor panel. The error messages disappear upon refresh. Here's a screenshot of what i'm talking about: http://prntscr.com/jw2crd

I'm looking for a simple code fix to remove this dialog from appearing. Does anyone have a solution they'd be so generous to share?

Many thanks

Hello!

Please open the config.local.php or local_conf.php file and set display_error to 0:

ini_set('display_errors', 0);

Hello!

Please open the config.local.php or local_conf.php file and set display_error to 0:

ini_set('display_errors', 0);

Perfect!!

yet again, thank you so much Oleg :wub:

Perfect!!

yet again, thank you so much Oleg :wub:

You are welcome :)