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

Update default-snippets.rst #819

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from
Open

Conversation

p0krawczyk
Copy link

Added informations about Parameter not found exception during rendering of the twig template with sulu_snippet_load_by_area() call after defining new area in the snippet template. Added possible solution as a tip.

Q A
Fixed tickets fixes #issuenum
Related PRs sulu/sulu#prnum
License MIT

What's in this PR?

Added informations about Parameter not found exception during rendering of the twig template with sulu_snippet_load_by_area() call after defining new area in the snippet template. Added possible solution as a tip.

Why?

Spent almost two hours on trying to handle the exception. The bin/console clear:cache command didn't solve the issue, I had to call bin/website clear:cache. The resolution to the issue was brought to me by Denis Michalik on sulu slack (https://sulu-io.slack.com/archives/C0430GGCV/p1729678310918159?thread_ts=1729540188.945419&cid=C0430GGCV). I think the tip in the docs can be helpful to new sulu'ers.

Added informations about ``Parameter not found exception`` during rendering of the twig template with sulu_snippet_load_by_area() call after defining new area in the snippet template. Added possible solution as a tip.
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.

1 participant