Hi,
i try to test new server width xampp and php 8.1.6.
I have a project that works fine on a server with php 7.3.5 but on the server with php 8.1.6 the List page with spreadsheet mode does not open and reports this error:
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in C:\sitiweb\webpriv\prophpr\classes\controls\FileField.php:57 Stack trace: #0 C:\sitiweb\webpriv\prophpr\classes\controls\Control.php(751): FileField->buildControl('[{"name":"allpr...', 7, 0, Array, Array, Array) #1 C:\sitiweb\webpriv\prophpr\classes\listpage.php(2092): EditControl->getControlMarkup(Array, Array) #2 C:\sitiweb\webpriv\prophpr\classes\listpage.php(2068): ListPage->getInlineEditControl('allphpr', 5, Array) #3 C:\sitiweb\webpriv\prophpr\classes\listpage.php(1726): ListPage->proccessRecordValue(Array, '&key1=10.1', Array) #4 C:\sitiweb\webpriv\prophpr\classes\listpage.php(2310): ListPage->fillGridData() #5 C:\sitiweb\webpriv\prophpr\phprvers_list.php(154): ListPage->prepareForBuildPage() #6 {main} thrown in C:\sitiweb\webpriv\prophpr\classes\controls\FileField.php on line 57
The problematic field name is allphpr (mediumtext) configured as attachment field (view as file, edit as File/Image).
If I uncheck the Spreadsheet mode option, everything works fine.
Thanks
Fabio
phprunner Enterprise 10.8 build 39612 x64