Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Call to a member function method() on null #972

Closed
wants to merge 10 commits into from

Conversation

hoangnamitc
Copy link

$smarty ->assign('data', $data) ->fetch($tpl_file)

Error:
Call to a member function fetch() on null

@kythuatwebso
Copy link

Same issues:
$smarty->assign(compact('data'))->fetch($tpl_file)

@wisskid wisskid changed the base branch from master to support/5 March 28, 2024 10:13
wisskid added a commit that referenced this pull request Mar 28, 2024
@wisskid
Copy link
Contributor

wisskid commented Mar 28, 2024

Had to create #973 since I somehow messed the base target up. thanx for the report.

@wisskid wisskid closed this Mar 28, 2024
wisskid added a commit that referenced this pull request Mar 28, 2024
wisskid added a commit that referenced this pull request Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants