Skip to content

Conversation

dipohl
Copy link

@dipohl dipohl commented Dec 5, 2023

Under Pico-30: PHP message: PHP Fatal error: Uncaught Twig\Error\SyntaxError: Unexpected token "name" of value "if" ("end of statement block" expected).

@PhrozenByte
Copy link
Collaborator

Thank you for your contribution! 👍 However, that's because the docs reference Pico 2.1, not the dev version of Pico 3.0. See #61, it was fixed there already. Thanks nevertheless!

@dipohl
Copy link
Author

dipohl commented Dec 6, 2023

because the docs reference Pico 2.1, not the dev version of Pico 3.0. See #61, it was fixed there already.

I suppose the updated syntax example will work under both Twig versions, so you can change it anyhow.

As Docs for Pico 3.0 are not shown on the website (at least I didn't see / find it there) I strongly vote for it. Otherwise all users of the new version will get frustrated with the incompatible advice..

@PhrozenByte PhrozenByte force-pushed the master branch 2 times, most recently from 7d00492 to 20ba8c6 Compare March 3, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants