Question

I have added the following line in OpenCart front-controller index.php:

error_reporting(E_ERROR);

But it still throws undefined-index Notice-Level error. What should I do?

Was it helpful?

Solution

  1. Login to opencart admin panel
  2. Go to System > Settings.
  3. Click on edit button of your store.
  4. In Server tab set No for the option Display Errors.

That's it.

Have a nice day !!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top