Warning: Division by zero in /var/www/u0229785/data/www/ooors.ru/core/Core.php on line 332

Warning: Division by zero in /var/www/u0229785/data/www/ooors.ru/core/Core.php on line 341

Warning: Division by zero in /var/www/u0229785/data/www/ooors.ru/core/Core.php on line 343

MySQL Error!

Date: [18:59:43] 18.08.2018 +0400

MySQL:
Query:                 select *,st.date as date_store,
			(select cost from ds_store as st2 where st2.parent=st.id order by cost asc limit 1) as cost_child
		from ds_store as st  
		where st.status=1 and st.parent=0  order by  article   asc  limit 0, 
mysql_error():         You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 4
mysql_errno():         1064
mysql_server_info():   5.6.39-83.1

Script:
SCRIPT_FILELINE:       /var/www/u0229785/data/www/ooors.ru/modules/products.inc.php:67
SCRIPT_FILENAME:       /var/www/u0229785/data/www/ooors.ru/index.php

Request:
REQUEST_URI:           /products/batarei-salyutov-russkii-salyut/
QUERY_STRING:          module=products&id=batarei-salyutov-russkii-salyut
HTTP_REFERER:          
HTTP_HOST:             www.ooors.ru
REQUEST_METHOD:        GET

Server:
SERVER_SOFTWARE:       Apache/2.2.15 (CentOS)
SERVER_PORT:           443
SERVER_NAME:           www.ooors.ru

User:
HTTP_USER_AGENT:       CCBot/2.0 (https://commoncrawl.org/faq/)
REMOTE_ADDR:           54.80.87.62
REMOTE_PORT:           56012