当我将 opencart 设置为维护模式时,出现以下错误:
Fatal error: Call to a member function getLayout() on a non-object in
../catalog/controller/common/header.php on line 195
第 195 行的代码是:
$layout_id = $this->model_design_layout->getLayout($route);
我想在站点位于时忽略此行maintenance mode
,我该如何实现?