Saving entries with image field with PHP 8
When trying to save a entry from the front-end where is uploaded image in the image field got following error:
     0 count(): Argument #1 ($value) must be of type Countable|array, bool given 
Call stack
# 	Function 	Location
1 	() 	JROOT/components/com_sobipro/opt/fields/image.php:427
2 	SPField_Image->verify() 	JROOT/components/com_sobipro/opt/fields/image.php:1348
3 	SPField_Image->storeData() 	JROOT/components/com_sobipro/opt/fields/image.php:791
4 	SPField_Image->saveData() 	JROOT/components/com_sobipro/lib/models/field.php:892
5 	SPField->__call() 	JROOT/components/com_sobipro/lib/models/entry.php:794
6 	SPEntry->save() 	JROOT/components/com_sobipro/lib/ctrl/entry.php:510
7 	SPEntryCtrl->save() 	JROOT/components/com_sobipro/lib/ctrl/controller.php:167
8 	SPController->execute() 	JROOT/components/com_sobipro/lib/ctrl/entry.php:84
9 	SPEntryCtrl->execute() 	JROOT/components/com_sobipro/lib/ctrl/sobipro.php:574
10 	SobiProCtrl->execute() 	JROOT/components/com_sobipro/sobipro.php:55
11 	require_once() 	JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
12 	Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() 	JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
13 	Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() 	JROOT/libraries/src/Component/ComponentHelper.php:389
14 	Joomla\CMS\Component\ComponentHelper::renderComponent() 	JROOT/libraries/src/Application/SiteApplication.php:206
15 	Joomla\CMS\Application\SiteApplication->dispatch() 	JROOT/libraries/src/Application/SiteApplication.php:245
16 	Joomla\CMS\Application\SiteApplication->doExecute() 	JROOT/libraries/src/Application/CMSApplication.php:278
17 	Joomla\CMS\Application\CMSApplication->execute() 	JROOT/includes/app.php:63
18 	require_once() 	JROOT/index.php:32 
Back-end seems to be saving correctly
Tested with SobiPro 2.0.0.15 and Joomla 4.0.3