I made no changes to the call to the news module but I'm suddenly getting divide by zero errors in both News module 2.6.1 and 2.7.
Here's the call to News module that has started to fail:
Code: Select all
Action Items {news number="8" detailpage="action-items" category="Action Items" makerssbutton="true"}
{news number="8" detailpage="action-items" category="Action Items" dateformat="%B %e, %Y"}
Code: Select all
Warning: Division by zero in /home/cippicc/public_html/modules/News/action.default.php on line 176
Warning: Division by zero in /home/cippicc/public_html/modules/News/action.default.php on line 177
Code: Select all
$pagecount = (int)($count / $pagelimit);
if( ($count % $pagelimit) != 0 ) $pagecount++;
Not sure what else to do at this point, any suggestions? TIA