I recently installed SuiteCRM on InMotion hosting using Softaculous. If I use MultiPHP Manager to assign PHP 8.0 to this install, CRM loads. If I change it to PHP 8.1, it gives me the error below.
Problem is, with PHP 8.0 I’m getting logged out of CRM every minute or so and it’s not saving my changes if I don’t save before getting kicked out. I did research and this behavior has been related to PHP 8.0 (and the recommendation of moving to 8.1). So I’m stuck… any ideas?
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/gytic/public_html/suitecrm/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 134
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/gytic/public_html/suitecrm/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php on line 144
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/gytic/public_html/suitecrm/vendor/symfony/http-foundation/Session/Session.php on line 131
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/gytic/public_html/suitecrm/vendor/symfony/http-foundation/Session/Session.php on line 141
Oops! An Error Occurred
The server returned a “500 Internal Server Error”.
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.