Всем добрый день.
Очень прошу помочь с ошибкой в движке Prestashop 1.5.4
Ни с того ни с сего стала появляться ошибка, когда пытаюсь зайти в список модулей.. Ошибка:
101
Fatal error: Call to undefined method stdClass::createData() in /home/mcadmin/public_html/store/classes/module/Module.php on line 144
[PrestaShop] Fatal error in module Module:
Call to undefined method stdClass::createData()
Никак е могу понять в чем проблема...
Очень прошу помочь...
Спасибо.
Вот кусок кода с того файла Module.php
/**
* Constructor
*
* @param string $name Module unique name
* @param Context $context
*/
public function __construct($name = null, Context $context = null)
{
// Load context and smarty
$this->context = $context ? $context : Context::getContext();
if (is_object($this->context->smarty))
$this->smarty = $this->context->smarty->createData($this->context->smarty);
// If the module has no name we gave him its id as name
if ($this->name == null)
$this->name = $this->id;
// If the module has the name we load the corresponding data from the cache
if ($this->name != null)
{
// If cache is not generated, we generate it
if (self::$modules_cache == null && !is_array(self::$modules_cache))
{