Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[Решено] Division by zero in catalog/view/theme/default/template/module/menu.tpl on line 40

Recommended Posts

Сегодня обнаружил непонятную ошибку в логах, она появляется каждую секунду. (чтоб вы понимали размер файла error.txt 600+ мб)


Вот что пишет:

2015-12-06 1:38:05 - PHP Warning: Division by zero in /home/****/domains/***.ua/public_html/catalog/view/theme/default/template/module/menu.tpl on line 40


Вот эта строчка:

 <?php $j = $i + ceil(count($manufacturers) / $manufacturer_column); ?>
Помогите разобраться. 


Link to post
Share on other sites

Division by zero

Деление на ноль


<?php $j = $i + ceil(count($manufacturers) / $manufacturer_column); ?>

Значит $manufacturer_column равно нулю. Ищите причину

Link to post
Share on other sites
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.