Closed hoangnamitc closed 4 months ago
$smarty ->assign('data', $data) ->fetch($tpl_file)
Error: Call to a member function fetch() on null
Same issues: $smarty->assign(compact('data'))->fetch($tpl_file)
$smarty->assign(compact('data'))->fetch($tpl_file)
Had to create https://github.com/smarty-php/smarty/pull/973 since I somehow messed the base target up. thanx for the report.
$smarty ->assign('data', $data) ->fetch($tpl_file)
Error: Call to a member function fetch() on null