Fatal php errors filling up logs in V8.4.0-beta

This error is filling up the suitecrm_error log v8.4.0-beta, ubuntu 22.04 LTS, mariadb 10.6, php 8.2-fpm and php 8.2 CLI.

When I ticked the box for stack trace output the server goes into “500 error”. The last line below is the output for the stack trace box ticked. This is a dedicated server install and stack trace continues to cause fatal errors.

I ask the developers to use stack trace and show us in the demo that it works before issuing another version. Please allow users to help find these bugs by allowing us to trace the problems.

[Tue Aug 08 12:18:56.972179 2023] [proxy_fcgi:error] [pid 1339] [client xxx.64.204.105:54472] AH01071: 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 /var/www/html/suitecrm/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 /var/www/html/suitecrm/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 /var/www/html/suitecrm/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 /var/www/html/suitecrm/vendor/symfony/http-foundation/Session/Session.php on line 141; PHP message: PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function StackTraceErrorHandler(), 4 passed in /var/www/html/suitecrm/public/legacy/include/SugarLogger/SugarLogger.php on line 239 and exactly 5 expected in /var/www/html/suitecrm/public/legacy/include/utils.php:3909\nStack trace:\n#0 /var/www/html/suitecrm/public/legacy/include/SugarLogger/SugarLogger.php(239): StackTraceErrorHandler()\n#1 /var/www/html/suitecrm/public/legacy/include/SugarLogger/LoggerManager.php(142): SugarLogger->log()\n#2 /var/www/html/suitecrm/public/legacy/include/utils/LogicHook.php(191): LoggerManager->__call()\n#3 /var/www/html/suitecrm/public/legacy/include/utils.php(3717): LogicHook->call_custom_logic()\n#4 [internal function]: sugar_cleanup()\n#5 {main}\n  thrown in /var/www/html/suitecrm/public/legacy/include/utils.php on line 3909', referer: https://xxx.org/
[Tue Aug 08 12:18:57.086648 2023] [proxy_fcgi:error] [pid 867] [client xxx.64.204.105:54473] AH01071: 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 /var/www/html/suitecrm/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 /var/www/html/suitecrm/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 /var/www/html/suitecrm/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 /var/www/html/suitecrm/vendor/symfony/http-foundation/Session/Session.php on line 141; PHP message: PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function StackTraceErrorHandler(), 4 passed in /var/www/html/suitecrm/public/legacy/include/SugarLogger/SugarLogger.php on line 239 and exactly 5 expected in /var/www/html/suitecrm/public/legacy/include/utils.php:3909\nStack trace:\n#0 /var/www/html/suitecrm/public/legacy/include/SugarLogger/SugarLogger.php(239): StackTraceErrorHandler()\n#1 /var/www/html/suitecrm/public/legacy/include/SugarLogger/LoggerManager.php(142): SugarLogger->log()\n#2 /var/www/html/suitecrm/public/legacy/include/utils/LogicHook.php(191): LoggerManager->__call()\n#3 /var/www/html/suitecrm/public/legacy/include/utils.php(3717): LogicHook->call_custom_logic()\n#4 [internal function]: sugar_cleanup()\n#5 {main}\n  thrown in /var/www/html/suitecrm/public/legacy/include/utils.php on line 3909', referer: https://xxx.org/
[Tue Aug 08 12:18:57.192444 2023] [proxy_fcgi:error] [pid 1188] [client xxx.64.204.105:54474] AH01071: 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 /var/www/html/suitecrm/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 /var/www/html/suitecrm/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 /var/www/html/suitecrm/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 /var/www/html/suitecrm/vendor/symfony/http-foundation/Session/Session.php on line 141; PHP message: PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function StackTraceErrorHandler(), 4 passed in /var/www/html/suitecrm/public/legacy/include/SugarLogger/SugarLogger.php on line 239 and exactly 5 expected in /var/www/html/suitecrm/public/legacy/include/utils.php:3909\nStack trace:\n#0 /var/www/html/suitecrm/public/legacy/include/SugarLogger/SugarLogger.php(239): StackTraceErrorHandler()\n#1 /var/www/html/suitecrm/public/legacy/include/SugarLogger/LoggerManager.php(142): SugarLogger->log()\n#2 /var/www/html/suitecrm/public/legacy/include/utils/LogicHook.php(191): LoggerManager->__call()\n#3 /var/www/html/suitecrm/public/legacy/include/utils.php(3717): LogicHook->call_custom_logic()\n#4 [internal function]: sugar_cleanup()\n#5 {main}\n  thrown in /var/www/html/suitecrm/public/legacy/include/utils.php on line 3909', referer: https://xxx.org/
[Tue Aug 08 12:18:57.403644 2023] [proxy_fcgi:error] [pid 1341] [client xxx.64.204.105:54475] AH01071: 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 /var/www/html/suitecrm/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 /var/www/html/suitecrm/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 /var/www/html/suitecrm/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 /var/www/html/suitecrm/vendor/symfony/http-foundation/Session/Session.php on line 141; PHP message: PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function StackTraceErrorHandler(), 4 passed in /var/www/html/suitecrm/public/legacy/include/SugarLogger/SugarLogger.php on line 239 and exactly 5 expected in /var/www/html/suitecrm/public/legacy/include/utils.php:3909\nStack trace:\n#0 /var/www/html/suitecrm/public/legacy/include/SugarLogger/SugarLogger.php(239): StackTraceErrorHandler()\n#1 
/var/www/html/suitecrm/public/legacy/include/SugarLogger/LoggerManager.php(142): SugarLogger->log()\n#2 /var/www/html/suitecrm/public/legacy/include/utils/LogicHook.php(191): LoggerManager->__call()\n#3 /var/www/html/suitecrm/public/legacy/include/utils.php(3717): LogicHook->call_custom_logic()\n#4 [internal function]: sugar_cleanup()\n#5 {main}\n  thrown in /var/www/html/suitecrm/public/legacy/include/utils.php on line 3909', referer: https://xxx.org/