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
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
Same problem when i execute ./bin/console suitecrm:app:upgrade -t SuiteCRM-8.4.0 upgrading from 7.14
I cleaned cache and reinstall composer, update composer … tested with php 7.4.9 , 7.4.33, 8.2.10
And when upgrade suitecrm always messages like
In NativeSessionStorage.php line 152:
Failed to start the session because headers have already been sent by “C:\wamp64\www\crm\public\legacy\deprecated.p
hp” at line 21.