Site based on OpenCart shows php warnings while php option display_errors is disabled

Refers to:

  • Plesk 12.0 for Windows
  • Plesk 12.0 for Linux

Created:

2016-11-16 12:50:46 UTC

Modified:

2016-12-21 19:21:39 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Site based on OpenCart shows php warnings while php option display_errors is disabled

Question

Wat is reason of website based on OpenCart shows php warnings while php option display_errors is disabled?

Answer

Error report is enabled in OpenCart.

Disable error reporting in OpenCart.

or comment set_error_handler('error_handler') in /var/www/vhosts/example.com/httpdocs/index.php :

# grep set_error_handler /var/www/vhosts/example.com/httpdocs/index.php

...
//set_error_handler('error_handler')
...
Have more questions? Submit a request
Please sign in to leave a comment.