Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module SEBLOD list and Joomla 4 #804

Closed
webmasterpaca opened this issue Feb 20, 2024 · 4 comments
Closed

Module SEBLOD list and Joomla 4 #804

webmasterpaca opened this issue Feb 20, 2024 · 4 comments

Comments

@webmasterpaca
Copy link

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
Copy link
Contributor

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
Copy link
Author

webmasterpaca commented Feb 21, 2024

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
Copy link
Member

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

@webmasterpaca
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants