I have a problem with the upgrade (php version 8.0) from 8.1.0 to 8.1.2. following error is shown:
In NativeSessionStorage.php line 152:
Failed to start the session because headers have already been sent by “//vendor/symfony/http-foundation/Session/Attribute/AttributeBag.p
hp” at line 17.
Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in //vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 134
Can someone help me?