Closed samvdb closed 7 years ago
Wasn't this fixed by https://github.com/Happyr/TranslationBundle/pull/50?
No, these changes are needed in the getMessage function. The solution proposed in #50 are valid for this problem, this is just less code.
Is $data
still arrayAccessable in SF.3.3?
Yes,
I am using sf3.3 with this fix.
Thank you Sam.
Symfony Vardumper component is used in the translation datacollector. This produces messages of type "Stub" or "Data", passing them to the constructor of the Message model which expects an array will throw fatal exception.
Error was discovered using Sylius 1.0-beta2 using Symfony 3.3.
Relevant lines: vendor/happyr/translation-bundle/src/Controller/ProfilerController.php:185
Origin of error:
Profiler->flag message -> vendor/happyr/translation-bundle/src/Controller/ProfilerController.php:71