Unknown: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in /home/barik/public_html/storage/modification/catalog/controller/extension/pavoblog/single.php on line 215 Tutorial 26 : How to Fix OpenCart Blank Page
Menu
Your Cart
 Tutorial 26 : How to Fix OpenCart Blank Page

Tutorial 26 : How to Fix OpenCart Blank Page

1. Add the following code to 'index.php' and/or 'admin/index.php'

  • As needed: which folders do you want to troubleshoot.

// Error
ini_set(‘display_errors’,1);
ini_set(‘error_reporting’,’E_ALL’);

2. Enable error display

  • If you can access the admin folder, go to System > Settings > Edit Store > Server tab, and set Error Display to Yes.
  • If not, you can manually edit the value of the key "config_error_display" in the oc_setting table via phpMyAdmin.
  • Or, execute the following line of code :

$this->db->query(“UPDATE `”.DB_PREFIX.”setting` SET `value` = ‘1’ WHERE `”.DB_PREFIX.”setting`.`key` = ‘config_error_display'”);