Problem with articles in a blog - Forum | JoomShaper
Staff replied Helix Framework

Problem with articles in a blog

Asked by Christian GRENIER 4 years ago Last activity 4 years ago

Hi

Context:
New Site,
Joomla 4.0.5,
PHP8.0,
Helix Ultimate 2.0.6,
Template Travus 2.0.0 or Shaper_helix_ultimate 2-0-5

Menu:

Main Menu/Menu Link/ Category Blog, Articles Blogs Parameters Joomla 4 Default

If I create more than one article in a blog, I have this error:

Division by Zero
JROOT\templates\travus\html\comcontent\category\blog.php:107

Complement:

No error with PHP8, Joomla template Cassiopeia,
No error with PHP 7.4, Travus template

Can you help me?

Thank

![http://www.j4.olympe-retraite-sportive.com/images/frontend/layout.jpg]

Edit: Because Number of Colonnes is null. In this case, the template don't load default Parameter.

3 replies

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Please downgrade your PHP version 8 to 7.4.

-Thanks

Christian GRENIER Asked this

Thanks for your answer.

It's not necessary than I upgrade my Production Site: it runs with php 7.4.
I work with PHP8 only with a development Site to resolve all problems.
To fix this bug, I choose a defined number of column for each blog and it's OK.

But suppose than somebody has a Site under PHP 7.4 with a Joomshaper template - the bug also appears with Shapper Helix Ultimate Template 2.0.5 - and try to upgrade to PHP8... !!!

Happy New Year and Salute from France

Toufiq Senior Staff

Hi there,

Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

Note: Did you checked the v2.0.6?

-Thanks

Log in to reply.