Error with Activities->Emails

I have successfully installed SuiteCRM 7.10.25 and created users. However when selecting Activities->Emails I get the following error message:
Warning: count(): Parameter must be an array or an object that implements Countable in /srv/web/^AF1^AF13FE7B%%ListViewGeneric.tpl.php on line 45

Any ideas on what’s causing this?

Welcome to Community!

This is just a warning message and it is not a fatal type error so It will not affect script execution. You can ignore this, it is showing you on screen because in your php.ini settings it is set as display_errors = on.
You can turn off by yourself or ask your hosting provider.

It is now a fatal error with PHP 8.0 on SuiteCRM 7.13.1

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /cache/smarty/templates_c/%%AF^AF1^AF13FE7B%%ListViewGeneric.tpl.php:45 Stack trace: #0 /vendor/smarty/smarty/libs/Smarty.class.php(1269): include() #1 /include/Sugar_Smarty.php(151): Smarty->fetch() #2 /include/ListView/ListViewSmarty.php(331): Sugar_Smarty->fetch() #3 /include/MVC/View/views/view.list.php(285): ListViewSmarty->display() #4 /include/MVC/View/views/view.list.php(391): ViewList->listViewProcess() #5 /include/MVC/View/SugarView.php(210): ViewList->display() #6 /include/MVC/Controller/SugarController.php(432): SugarView->process() #7 /include/MVC/Controller/SugarController.php(363): SugarController->processView() #8 /include/MVC/SugarApplication.php(101): SugarController->execute() #9 /index.php(52): SugarApplication->execute() #10 {main} thrown in /cache/smarty/templates_c/%%AF^AF1^AF13FE7B%%ListViewGeneric.tpl.php on line 45

@aureh12 can you try deleting that cached file that is throwing the error? It will get re-created automatically. My hope is that this time it will be correct (if this bug has been fixed recently).

If that still doesn’t work, I would advise opening an issue for this on Github (if it isn’t already there).