Setting Smarty's internal error_reporting to E_ALL & ~E_NOTICE to avoid noticed about unset variables in Smarty3.