Fix TriggerManager serialization causing WSOD
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3571335. --> Reported by: [joevagyok](https://www.drupal.org/user/2876343) >>> <h3>Problem</h3> <p>The TriggerManager service was causing a White Screen of Death (WSOD) when Drupal attempted to serialize it during certain operations. This prevented workflows from executing properly when triggers were involved.</p> <h3>Root Cause</h3> <p>The TriggerManager class contained non-serializable dependencies that were not properly handled during PHP serialization.</p> <h3>Solution</h3> <p>Applied proper serialization handling to the TriggerManager service to ensure it can be safely serialized and unserialized during Drupal's normal operations.</p> <h3>Impact</h3> <ul> <li>Workflows with triggers now execute without causing fatal errors</li> <li>Improved stability of the trigger system</li> </ul>
issue