craue / CraueFormFlowBundle

Multi-step forms for your Symfony project.
MIT License
736 stars 118 forks source link

Variable "flow" does not exist. #339

Closed Dumorya closed 5 years ago

Dumorya commented 5 years ago

Hi,

I'm having this issue:

Variable "flow" does not exist.

in \vendor/craue/formflow-bundle/Resources/views/FormFlow/stepList_content.html.twig (line 3)
{% use '@CraueFormFlow/FormFlow/stepList_blocks.html.twig' %}{%- if flow.getStepLabels() is not empty -%}    <ol class="craue_formflow_steplist">        {% for stepLabel in flow.getStepLabels() %}            <li{{ block('craue_flow_stepList_class') }}>                {%- if craue_isStepLinkable(flow, loop.index) -%}                    <a href="{{ path(app.request.attributes.get('_route'), app.request.query.all

It seems to come from one of your file, therefore I can't fix it... I have no idea why I'm having this error.

Thanks,

Clara.

adrilevendi commented 3 years ago

have the same issue here using 1 separate formTypes as steps. Using one formType with switch throws: undefined index 'flow_step' at $options['flow_step'].

MikeDrag commented 3 years ago

Same here