undefined extension class 'Smarty_Internal_Method_Assign_By_Ref'