WeStandWithUkraine

87 Posts
Seb
16 days ago
2
Topic

Hi,

When I use PHP 8, an error appears when validating the form:

0 count(): Argument #1 ($value) must be of type Countable|array, string given 

Call stack 

# FunctionLocation 1()JROOT/components/com_cck/controller.php:883 

2 CCKController->_getReturnPage()JROOT/components/com_cck/controller.php:665 

3 CCKController->save()JROOT/libraries/src/MVC/Controller/BaseController.php:702 

4 Joomla\CMS\MVC\Controller\BaseController->execute()JROOT/components/com_cck/cck.php:16

5 require_once()JROOT/libraries/src/Component/ComponentHelper.php:402

6 Joomla\CMS\Component\ComponentHelper::executeComponent()JROOT/libraries/src/Component/ComponentHelper.php:377

7 Joomla\CMS\Component\ComponentHelper::renderComponent()JROOT/libraries/src/Application/SiteApplication.php:194

8 Joomla\CMS\Application\SiteApplication->dispatch()JROOT/libraries/src/Application/SiteApplication.php:233 

9 Joomla\CMS\Application\SiteApplication->doExecute()JROOT/libraries/src/Application/CMSApplication.php:225 

10 Joomla\CMS\Application\CMSApplication->execute()JROOT/index.php:49

My configuration : Joomla 3.10.11, Seblod 3.22.1

Thanks for your help !

Get a Book for SEBLOD
54 Posts
KKAAZZOO
14 days ago
1
Level 1

Hi! At a minimum, you need to downgrade your php version to version 7

87 Posts
Seb
10 days ago
0
Level 2

Hi, thanks but I know.

The system requirements for Seblod 3 is :

  • Joomla! 2.5 or 3.0.
  • Seblod shares all of the same system requirements as Joomla, however Php 5.3 or above is required.

PHP 8 should work.

Get a VIP membership