Skip to content

ComponentNode uses $this->loadTemplate which is deprecated in Twig 3.20.0 #2710

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

Closed
ruudk opened this issue May 5, 2025 · 0 comments · Fixed by #2713
Closed

ComponentNode uses $this->loadTemplate which is deprecated in Twig 3.20.0 #2710

ruudk opened this issue May 5, 2025 · 0 comments · Fixed by #2713

Comments

@ruudk
Copy link
Contributor

ruudk commented May 5, 2025

See twigphp/Twig#4583

I believe it should be changed to load in 3.20.0

@ruudk ruudk added the Bug Bug Fix label May 5, 2025
@carsonbot carsonbot added the Status: Needs Review Needs to be reviewed label May 5, 2025
smnandre added a commit to smnandre/ux that referenced this issue May 6, 2025
@smnandre smnandre added TwigComponent and removed Bug Bug Fix Status: Needs Review Needs to be reviewed labels May 6, 2025
Kocal pushed a commit to smnandre/ux that referenced this issue May 15, 2025
@Kocal Kocal closed this as completed in 3df2c96 May 16, 2025
Kocal added a commit that referenced this issue May 16, 2025
…3.21 (smnandre)

This PR was merged into the 2.x branch.

Discussion
----------

[TwigComponent] Fix `loadTemplate` deprecation for Twig >= 3.21

Fix #2710

cf twigphp/Twig#4583

Poke `@ruudk`

Commits
-------

3df2c96 [TwigComponent] Fix `loadTemplate` deprecation for Twig >= 3.21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants