Hi, I did this and get this error:
Fatal error: Call to a member function assign() on a non-object in /homepages/13/d616742473/htdocs/clickandbuilds/PrestaShop/saudiserawat/classes/module/Module.php on line 2299
What is this means??
At this file and this line number I found this, the line number 2299 in red:
public function display($file, $template, $cache_id = null, $compile_id = null)
{
if (($overloaded = Module::_isTemplateOverloadedStatic(basename($file, '.php'), $template)) === null) {
return Tools::displayError('No template found for module').' '.basename($file, '.php');
} else {
if (Tools::getIsset('live_edit') || Tools::getIsset('live_configurator_token')) {
$cache_id = null;
}
$this->smarty->assign(array(
'module_dir' => __PS_BASE_URI__.'modules/'.basename($file, '.php').'/',
'module_template_dir' => ($overloaded ? _THEME_DIR_ : __PS_BASE_URI__).'modules/'.basename($file, '.php').'/',
'allow_push' => $this->allow_push
));