We can’t access to accounts, we always receiving the error “An error occurred while retrieving logs” and after the users log out.
In logs, we find this errors:
PHP 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 /home/domain/apps/suite8/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 134
PHP message: PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/domain/apps/suite8/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 144
PHP message: PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Session::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/domain/apps/suite8/vendor/symfony/http-foundation/Session/Session.php on line 131
PHP message: PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/domain/apps/suite8/vendor/symfony/http-foundation/Session/Session.php on line 141’, referer: https://suite8.domain.com/
We are using the PHP version 8.0.30, and do the change to 8.1.22 and also to 8.2.9 but with the same error. Don’t understand how we can resolve it. Please help!
Check that you are inside the Compatibility Matrix.
Those “deprecated” errors are not your problem, it is something else. Deprecateds are just warning to developers, telling them things they should be worried about in the upcoming times.
Oh, sorry. Yes, I am inside de compatibility matrix, we are using SuiteCRM 8.4.1, MySQL 5.7, and PHP 8.2.9.
If it’s not the problem, How can I identify the problem?
No, no fatal errors has found. Only the message I sent later:
Got error 'PHP message: PHP 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 /home/domain/apps/suite8/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 134;
PHP message: PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/domain/apps/suite8/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 144;
PHP message: PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Session::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/domain/apps/suite8/vendor/symfony/http-foundation/Session/Session.php on line 131;
PHP message: PHP Deprecated: Return type of Symfony\Component\HttpFoundation\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/domain/apps/suite8/vendor/symfony/http-foundation/Session/Session.php on line 141’, referer: https://suite8.domain.com/