Octopoos / SEBLOD

Build high-end websites with SEBLOD®, a CCK for Joomla!
https://www.seblod.com
GNU General Public License v2.0
129 stars 55 forks source link

Module SEBLOD list and Joomla 4 #804

Closed webmasterpaca closed 2 months ago

webmasterpaca commented 9 months ago

Hi,

I use the Seblod List Module to display lists with Seblod 4.3.1 and Joomla 4.3.1, PHP 8.2 and Mysql 5.7.42

Unfortunately, on pages where the module is displayed, I get a 500 error when I want to edit the page. Sorry, there was a problem we could not recover from. The server returned a "500 - Whoops, looks like something went wrong." By deactivating the Seblod List module the error disappears.

Seblod List module it's compatible with Joomla 4 ?

Thanks for your help !

Ilya-Zhulin commented 9 months ago

It is compatible. I use it in projects. What settings do you use in this search? If you tried to show this list not in module but in menu point? Which template do you use with this list?

webmasterpaca commented 9 months ago

Hi, This is the “Forthcoming training” module on this page: https://paca.lpo.fr/formation I use the Seblod List module to display a classic search list I get the following error when editing the page on Cassiopea count(): Argument #1 ($value) must be of type Countable|array, null given

--

| Function | Location

1 | () | JROOT/libraries/cck/base/list/list_inc.php:459 2 | include() | JROOT/modules/mod_cck_list/mod_cck_list.php:61 3 | include() | JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:52 4 | Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher{closure}() | JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:55 5 | Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() | JROOT/libraries/src/Helper/ModuleHelper.php:281 6 | Joomla\CMS\Helper\ModuleHelper::renderRawModule() | JROOT/libraries/src/Helper/ModuleHelper.php:161 7 | Joomla\CMS\Helper\ModuleHelper::renderModule() | JROOT/libraries/src/Document/Renderer/Html/ModuleRenderer.php:99 8 | Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render() | JROOT/libraries/src/Document/Renderer/Html/ModulesRenderer.php:50 9 | Joomla\CMS\Document\Renderer\Html\ModulesRenderer->render() | JROOT/libraries/src/Document/HtmlDocument.php:565 10 | Joomla\CMS\Document\HtmlDocument->getBuffer() | JROOT/libraries/src/Document/HtmlDocument.php:833 11 | Joomla\CMS\Document\HtmlDocument->_renderTemplate() | JROOT/libraries/src/Document/HtmlDocument.php:637 12 | Joomla\CMS\Document\HtmlDocument->render() | JROOT/libraries/src/Application/CMSApplication.php:1025 13 | Joomla\CMS\Application\CMSApplication->render() | JROOT/libraries/src/Application/SiteApplication.php:724 14 | Joomla\CMS\Application\SiteApplication->render() | JROOT/libraries/src/Application/CMSApplication.php:298 15 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/includes/app.php:61 16 | require_once() | JROOT/index.php:32

sebastienheraud commented 2 months ago

Hi, Please have a try with the upcoming package (tomorrow), and reopen if needed. Saba

webmasterpaca commented 3 weeks ago

Hi, Thanks, I have updated to Seblod 4.4.2, with Joomla 5.1.4 I have created a new module "Seblod list" that consults an existing and functional list. When I edit a page where the module appears, I get the following error: Sorry, there was a problem we could not recover from. The server returned a "500 - Whoops, looks like something went wrong." I tested with Gantry 5 and Cassiopea templates With Cassiopea I have this additional error code: 0 count(): Argument #1 ($value) must be of type Countable|array, null given Thanks for your help