Issue #3178162 by MegaChriz, Berdir: Serialization error when switching between poll form and poll results as an anonymous user on PHP 7.4