We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
5.3.7
I'm getting the following error after trying to update a setup from 4.13 to 5.3.7:
Symfony\Component\ErrorHandler\Error\UndefinedMethodError: Attempted to call an undefined method named "serialize" of class "Contao\CoreBundle\InsertTag\InsertTagResult". at vendor/contao/core-bundle/src/InsertTag/ParsedSequence.php:67 at Contao\CoreBundle\InsertTag\ParsedSequence->serialize() (vendor/contao/core-bundle/src/InsertTag/InsertTagParser.php:584) at Contao\CoreBundle\InsertTag\InsertTagParser->handleLegacyTagsHook(object(ParsedSequence), true) (vendor/contao/core-bundle/src/InsertTag/InsertTagParser.php:341) at Contao\CoreBundle\InsertTag\InsertTagParser->executeReplace(object(ParsedSequence), true, object(OutputType)) (vendor/contao/core-bundle/src/InsertTag/InsertTagParser.php:355) at Contao\CoreBundle\InsertTag\InsertTagParser->executeReplace(object(ParsedSequence), true, object(OutputType)) (vendor/contao/core-bundle/src/InsertTag/InsertTagParser.php:133) at Contao\CoreBundle\InsertTag\InsertTagParser->replace('{{iflng::de}} <a href="{{rootPageLink::{{link_url::256}}}}" class="header__logo" title="..."> <img src="{{asset::images/logo.svg}}" alt="..." width="260" height="59"> </a>{{iflng::fr}} <a href="{{rootPageLink::{{link_url::433}}}}" class="header__logo" title="..."> <img src="{{asset::images/logo-fr.svg}}" alt="..." width="344" height="59"> </a>{{iflng::it}} <a href="{{rootPageLink::{{link_url::95}}}}" class="header__logo" title="..."> <img src="{{asset::images/logo-it.svg}}" alt="..." width="305" height="59"> </a>{{iflng}}') (vendor/contao/core-bundle/contao/library/Contao/TemplateInheritance.php:153)
I think it's because of the nesting. According to the docs of ParsedSequence itself, an InsertTagResult is expected so imho this must be handled in its serialize() method then? https://github.com/contao/contao/blob/5.x/core-bundle/src/InsertTag/ParsedSequence.php#L55
ParsedSequence
InsertTagResult
serialize()
/cc @ausi
The text was updated successfully, but these errors were encountered:
ParsedSequence::serialize()
See #7189
Sorry, something went wrong.
Fix the ParsedSequence::serialize() method (see #7189)
f92bd2d
Description ----------- Fixes #7184 Commits ------- 0546ab4 Fix ParsedSequence serialize() method
ausi
Successfully merging a pull request may close this issue.
Affected version(s)
5.3.7
Description
I'm getting the following error after trying to update a setup from 4.13 to 5.3.7:
I think it's because of the nesting. According to the docs of
ParsedSequence
itself, anInsertTagResult
is expected so imho this must be handled in itsserialize()
method then? https://github.com/contao/contao/blob/5.x/core-bundle/src/InsertTag/ParsedSequence.php#L55/cc @ausi
The text was updated successfully, but these errors were encountered: