You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Symfony 4 fails with error "Cannot check if an unsubmitted form is valid. Call Form::isSubmitted() before Form::isValid()." in Form/Handler/EmailFormHandler.php at line 91.
The following code isn't valid any more:
public function processForm(FormInterface $form, Request $request)
{
$valid = false;
$form->handleRequest($request);
if ($form->isValid()) {
The same code is found in LayoutFormHandler.php.
The text was updated successfully, but these errors were encountered:
Symfony 4 fails with error "Cannot check if an unsubmitted form is valid. Call Form::isSubmitted() before Form::isValid()." in
Form/Handler/EmailFormHandler.php
at line 91.The following code isn't valid any more:
The same code is found in
LayoutFormHandler.php
.The text was updated successfully, but these errors were encountered: