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

Call to a member function getTemplatePath() #6766

Open
rsantellan opened this issue Jan 25, 2025 · 2 comments
Open

Call to a member function getTemplatePath() #6766

rsantellan opened this issue Jan 25, 2025 · 2 comments

Comments

@rsantellan
Copy link

Describe the bug
when create custom action and render twig.
it's worked before version 4.16

Duplicated of #6513

To Reproduce
...
return $this->render(view: 'create.html.twig', parameters: [
'form' => $form,
]);
...
(OPTIONAL) Additional context

Image

@Michelium
Copy link

This error is explained here and a pull request has already been made:

#6765

@rsantellan
Copy link
Author

This error is explained here and a pull request has already been made:

#6765

Hi! The weird thing is that I have a custom controller with two actions.

The first action works like a charm when is the first out of a EasyAdmin crud, but on the second it breaks.

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

No branches or pull requests

2 participants