Hi,

I'm using Joomla 4.2.6 and Uber template.
I'm trying to activate the additional layouts for mod_category_articles (like blog, blog2, etc.).
When I activate them, the articles selected are not displayed. When I go back to the normal layout, they are displayed fine.
There is also a problem with the "readmore" : if I choose to display the "readmore" in the mod_category_articles and an additional layout , I get a 500 error, with "Call to a member function get() on null".

You can easily reproduce the error playing with the setting of the module called Blog - Accueil and the front page.

Best regards,

Paul

Hi Paul,

In the module 'Blog - Accueil' I see the readmore and click it without issue, could you share the page where I can replicate the issue?

Hello Saguaros,

Thanks for your feedback. I've been able to narrow down the problem. It actually happens when I turn on any grouping option :

You can try it on the front page and you will get the "call to a member.." 500 error :

Do you know if the grouping options work with the additional layouts ?

Best regards,

Paul

Hi

It's weird issue, could you share the FTP account?

Thanks for the info, let me check and will get back to you.

Hi, polo97464

I directly fixed the issue on your site. It seems work well now. The file changes: /templates/uber/local/html/mod_articles_category/news.php.
You kindly check again.

Regards,

7 days later

Hello,

Thanks for your answer.

If if understand well, you added this :
<?php foreach($items as $item): ?>
on line 27
and this
<?php endforeach; ?>

on line 113, is that it ?

Best regards,

Paul

6 days later

Sorry for late answer - Yes, it does work, so first, thank you !
Second, is that the change that was made ?

Best,

Paul

Write a Reply...
You need to Login to view replies.