當我設置Opencart的,以維護支持模式,我得到以下錯誤: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
,我該如何做到這一點?