Fixed “Entities cannot be serialized or unserialized” error when Redis cache was enabled.
Improved internal logic within Listener.php file.
No changes were made to the style or visual components.
This update resolves a serialization issue that occurred when Redis caching was active.
No style or visual modifications were included.
Only backend PHP improvements were applied for better stability and compatibility.