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
I can't use my debug toolbar anymore because the output of your Debug Panel grew way too large.
I solved this issue in Craft in the User debug Panel and Request debug Panel via Yii2 Service Locator so I was able to overwrite the classes and fix several issues.
Unfortunately the CommercePanel is created via new CommercePanel thus I cannot overwrite the class and fix the RAM issues.
Could you please create it via Craft::createObject instead?
Edit: Just to mention the issues: I have several relation fields in my User and Order field layout - some of them are even eager loaded -> those related elements are dumped together with their entire field layouts as well.... if they contain other Queries or eager loaded elements the output is incredibly large. I cannot just use the event to reduce the size of the HTML as the serialization already happened.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I can't use my debug toolbar anymore because the output of your Debug Panel grew way too large.
I solved this issue in Craft in the User debug Panel and Request debug Panel via Yii2 Service Locator so I was able to overwrite the classes and fix several issues.
Unfortunately the CommercePanel is created via
new CommercePanel
thus I cannot overwrite the class and fix the RAM issues.Could you please create it via
Craft::createObject
instead?Edit: Just to mention the issues: I have several relation fields in my User and Order field layout - some of them are even eager loaded -> those related elements are dumped together with their entire field layouts as well.... if they contain other Queries or eager loaded elements the output is incredibly large. I cannot just use the event to reduce the size of the HTML as the serialization already happened.
Beta Was this translation helpful? Give feedback.
All reactions