--- a/browse/ratings.php +++ b/browse/ratings.php @@ -34,7 +34,7 @@ } else { $output .= "<div id='pagetitle'>"._RATINGS."</div>"; - $total = is_countable($ratingslist); + $total = is_countable($ratingslist ?? null); $count = 0; $column = 1; $list = floor($total / $displaycolumns);