Comments (19)
@shyim I cannot reproduce this either. I am using PHP 7.4.20 though.
from froshdevelopmenthelper.
This is pure TDD … "Ticket Driven Debugging" 😂
from froshdevelopmenthelper.
Thanks fixed with e50f6bb
I needed a promotion to reproduce it
from froshdevelopmenthelper.
Hey,
I can't reproduce your issue. Is it still reproduceable at you?
from froshdevelopmenthelper.
I get the same error on shopware 6.4 with APP_ENV=dev
:
request.CRITICAL: Uncaught PHP Exception Exception: "Serialization of 'Closure' is not allowed"
at /xxxx/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php line 175
from froshdevelopmenthelper.
What did you done and is it there also without this extension?
from froshdevelopmenthelper.
No, if I disable the extension the error does not exist.
I also disabled all other plugins so it occurs even there with the default theme and nearly only demo data!
from froshdevelopmenthelper.
Idk tried now again I can't reproduce it
from froshdevelopmenthelper.
With shopware 6.4.1.1 + symfony 5.2.10 + php 7.4.16 the problem still exists in dev environment
from froshdevelopmenthelper.
As you are able to reproduce @rabauss could you look into the template variables which one is causing this error?
from froshdevelopmenthelper.
I can also see it here … it has something to do with the profiler … the data array it tries to serialize is HUGE … somewhere in between there must be a closure which cannot be serialized.
from froshdevelopmenthelper.
Can you comment this out? https://github.com/FriendsOfShopware/FroshDevelopmentHelper/blob/0.3/src/Component/Profiler/TwigDataCollector.php#L29
Is the error source there?
from froshdevelopmenthelper.
yepp … that's it.
it looks like a recursion
from froshdevelopmenthelper.
why the fuck is the dependency container in the template vars. Under which key is it there?
from froshdevelopmenthelper.
$this
->twig
->renders["@Storefront/storefront/layout/header/actions/cart-widget.html.twig"]
["page"]
->cart
->data
->elements["Shopware\\Core\\Checkout\\Cart\\LineItem\\Group\\LineItemGroupBuilder"]
->registry
->packagers
->generator
from froshdevelopmenthelper.
I think it's coming from here: \Shopware\Storefront\Controller\CheckoutController::info()
from froshdevelopmenthelper.
Ahh. I will look tomorrow into it how it can be fixed in general . Thanks. That helps very much :D
from froshdevelopmenthelper.
Sure … if you like we can have a zoom session as well. Just ping me on slack or here! Good nite!
from froshdevelopmenthelper.
Could you please bump the version?
from froshdevelopmenthelper.
Related Issues (20)
- Plugin does not work after latest commit HOT 3
- The checkout summary layout is affected HOT 2
- Add EchoSQLLogger HOT 1
- Cannot create JsonField in make:definition HOT 1
- Setting field as nullable works opposite of what is selected HOT 1
- Installing 0.3.0-dev via Composer removes plenty of packages HOT 1
- Commands not visible under Shopware 6.4.3.0 HOT 3
- Exception when sending an email HOT 3
- Sending mails no longer works HOT 1
- Generate Code for Adding a Custom Field in a Plugin HOT 2
- Feature Request: Overwrite Plugin Templates HOT 2
- 404 when adding product to cart with FroshDevelopmentHelper activated
- HTML comments in sitemap.xml are making it invalid
- Make BLACKLIST_KEYS configurable HOT 10
- Stopwatch error when trying to deactivate plugin HOT 7
- global $classLoader; in EntityLoader->getNewEntityFolder() is null
- Code generation of an IntField uses String for minValue and maxValue
- ManyToMany generation doesn't work
- Generating Entities or edit Entities
- Symfony Debug Bar not loading when FroshDevelopmentHelper active HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from froshdevelopmenthelper.