When I upgraded from J3 to J4, I started getting following error
"Modulo by zero". Stack trace: #0 [ROOT]/libraries/src/MVC/View/HtmlView.php(410): include()
I tracked down the error to this code
$rowcount = (((int) $key - 1) % (int) $this->columns) + 1;
in
templates/ja_social_ii/html/com_content/featured/default.php
Would appreciate some help on how to correct this.
Thanks.