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

{getImageDimensions image = $tmpImages[0]} error #1077

Open
criocere opened this issue Nov 1, 2024 · 0 comments
Open

{getImageDimensions image = $tmpImages[0]} error #1077

criocere opened this issue Nov 1, 2024 · 0 comments

Comments

@criocere
Copy link

criocere commented Nov 1, 2024

Still trying to migrate from v4 to v5...
I try also to use extensions for tags and modifiers

This line is ok in smarty v4
{getImageDimensions image = $tmpImages[0]}

But in smarty v5 I get
Got error 'PHP message: PHP Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "file:zzzzPage.tpl" on line 235 "{getImageDimensions image = $tmpImages[0]}" unknown tag 'getImageDimensions'

If I modify my line like this (adding a blank after the first bracket), it becomes ok
{ getImageDimensions image = $tmpImages[0]}

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

1 participant