Bug #66124
Serialization of 'Closure' is not allowed in GifBuilder
Status: | Closed | Start date: | 2015-03-29 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | Frontend | Spent time: | - | |
Target version: | - | |||
TYPO3 Version: | 7 | Is Regression: | No | |
PHP Version: | 5.5 | Sprint Focus: | ||
Complexity: |
Description
For the flag images of my language menu, I got always the following failure from the method \TYPO3\CMS\Core\Utility\GeneralUtility\GifBuilder->fileName().
Serialization of 'Closure' is not allowed.
I think the reason is, there are some anonymous functions in any of the classes \TYPO3\CMS\Core\Resource\File or \TYPO3\CMS\Core\Resource\ProcessedFile which are included in the array setup. You try to serialize this array.
I have found a workaround for myself. I transform the array setup with implode before I serialize it. But I cannot say, if this would lead to trouble in ohter situations. Therefore I know to less about this coding.
Please have a look into the attached dokument. There can you see the workaround from me and the content of the array setup.
Exactly Typo Version is 7.1.0
Related issues
History
#1 Updated by Markus Klein 4 months ago
- Status changed from New to Closed
Seems to be a duplicate of #65535