I've got lots of 404 for _wdt/{token} (Web Profiler) and figured out, that it will throw an exception when the ProfilerExtension of this bundle will be serialized ("Serialization of closures is not supported").
So i added a Serializable-Interface to force only the serialization of getData() and not the whole object. The Web Profiler Toolbar is now working again :)
I've got lots of 404 for _wdt/{token} (Web Profiler) and figured out, that it will throw an exception when the ProfilerExtension of this bundle will be serialized ("Serialization of closures is not supported").
So i added a Serializable-Interface to force only the serialization of getData() and not the whole object. The Web Profiler Toolbar is now working again :)