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
This is a weird one, as it happens in some sections, but not everywhere.
If an entry with validation errors (e.g. empty mandatory field) is saved, there is an error Variable "CraftEdition" does not exist. in ...\src\templates\_layouts\cp.html line 61
This variable seems to be set in web\twig\Extension.php line 1113 , yet the templateMode is set to 'site' in this cases.
Reverting the changes in craft\web\View::renderString() and renderObjectTemplate() fixes the error provisionally for us.
Description
This is a weird one, as it happens in some sections, but not everywhere.
If an entry with validation errors (e.g. empty mandatory field) is saved, there is an error
Variable "CraftEdition" does not exist. in ...\src\templates\_layouts\cp.html line 61
This variable seems to be set in
web\twig\Extension.php line 1113
, yet the templateMode is set to 'site' in this cases.Reverting the changes in
craft\web\View::renderString() and renderObjectTemplate()
fixes the error provisionally for us./sh on behalf of @wsydney76.
Additional info
The text was updated successfully, but these errors were encountered: