12 hours ago, Prestashop Addict said:Hi, you error message is clear you need to pass variables in an array
$this->context->smarty->assign([ 'comments' => $comments, 'product' => $this->product, 'page' => $page, 'nb_pages' => $nb_pages ] );
Finally I got this that I should pass "'page' => $page," as array so I did this like: 'page' => array ($page), because After commenting this code the template was loading properly.
But now I am facing this error:
(1/1) ContextErrorException
Notice: Undefined index: meta
Now I don't know how to resolve it. Please help. Thanks in Advance.