
Using OC V4.1.0.0
I made a simple backup of the DB then restore it which broke my website at the home page.
There I found the culprit module 'HTML Content'. Removing it manually from the oc_layout_module
solve the problem to display the main page. However I cannot access any more the module configuration
always got an error message. (I can however add a new one).
Code: Select all
Error: Opencart\Admin\Model\Setting\Module::getModule(): Return value must be of type array, null returned
File: /var/www/magasin.exemple.net/sysad/model/setting/module.php
Line: 119 Backtrace: 0
File: /var/www/magasin.exemple.net/system/engine/loader.php
Line: 343 Class: Opencart\Admin\Model\Setting\Module Function: getModule Backtrace: 1
File: /var/www/magasin.exemple.net/system/engine/proxy.php
Line: 87 Class: Opencart\System\Engine\Loader Function: Opencart\System\Engine\{closure} Backtrace: 2
File: /var/www/magasin.exemple.net/extension/opencart/admin/controller/module/html.php
Line: 57 Class: Opencart\System\Engine\Proxy Function: __call Backtrace: 3
File: /var/www/magasin.exemple.net/system/engine/action.php
Line: 96 Class: Opencart\Admin\Controller\Extension\Opencart\Module\HTML Function: index Backtrace: 4
File: /var/www/magasin.exemple.net/system/framework.php
Line: 259 Class: Opencart\System\Engine\Action Function: execute Backtrace: 5
File: /var/www/magasin.exemple.net/sysad/index.php
Line: 20 Function: require_once