Make a quick vote 🗳 ️How do you refer to SuiteCRM extensions: add-ons or plug-ins? Click here to have your say 👈

Upgrade problem Suitecrm 8.1.0 to 8.1.2 Failed to start the session

Hello,

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.

Before:
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?

Thanks!
testes

Edit your php.ini in order to ignore deprecated errors.
This is the settings we apply across all the environments:
error_reporting = E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED & ~E_STRICT & ~E_NOTICE

thanks for your help andopes.
it is good to igonre the deprecated errors, but the upgrade doesn’t work because of the error:

In NativeSessionStorage.php line 152:

Failed to start the session because headers have already been sent by
/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php" at line 17.