PHP Fatal error: Undefined class constant 'MODE_CONTRIB' in /home/clients/фтп/domains/домен.ком/html/classes/controller/AdminController.php on line 405
// Set context mode if (defined('_PS_HOST_MODE_') && _PS_HOST_MODE_) { if (isset($this->context->cookie->is_contributor) && (int)$this->context->cookie->is_contributor === 1) $this->context->mode = Context::MODE_CONTRIB_HOST; else $this->context->mode = Context::MODE_HOST; } elseif (isset($this->context->cookie->is_contributor) && (int)$this->context->cookie->is_contributor === 1) $this->context->mode = Context::MODE_CONTRIB; else $this->context->mode = Context::MODE_STD;
Версия 1.6.0.11 сырая багов много. Так что рано вы сменили версию. Подождать пару недель нужно, если не хотите возиться с ошибками.
// Set context modeif (defined('_PS_HOST_MODE_') && _PS_HOST_MODE_){if (isset($this->context->cookie->is_contributor) && (int)$this->context->cookie->is_contributor === 1)$this->context->mode = Context::MODE_HOST_CONTRIB;else$this->context->mode = Context::MODE_HOST;}elseif (isset($this->context->cookie->is_contributor) && (int)$this->context->cookie->is_contributor === 1)$this->context->mode = Context::MODE_STD_CONTRIB;else$this->context->mode = Context::MODE_STD;
Константы MODE_CONTRIB нет в prestashop. Есть MODE_STD_CONTRIB. В новой версии опечатка. Если исправить наименование константы, то этой ошибки быть не должно.