Fatal error: Uncaught Exception: Error: Out of memory (Needed 1048568 bytes)<br />Error No: 5<br />
SELECT COUNT(DISTINCT p.product_id) total
FROM `oc3s_product` p
LEFT JOIN `oc3s_product_to_category` p2c ON (p2c.product_id = p.product_id)
LEFT JOIN `oc3s_product_description` pd ON (p.product_id = pd.product_id)
LEFT JOIN `oc3s_product_to_store` p2s ON (p.product_id = p2s.product_id)
WHERE
p.status = '1'
AND p.date_available <= NOW()
AND p2s.store_id = '0'
AND pd.language_id = '2'
AND p2c.category_id = '509020388' in F:\Inetpub\vhosts\plpesca.com.br\plpesca\update\system\library\db\mysqli.php:48
Stack trace:
#0 F:\Inetpub\vhosts\plpesca.com.br\plpesca\storage\modification\system\library\db.php(55): DB\MySQLi->query()
#1 F:\Inetpub\vhosts\plpesca.com.br\plpesca\update\system\library\journal3\opencart\model.php(48): DB->query()
#2 F:\Inetpub\vhosts\plpesca.com.br\plpesca\update\catalog\model\journal3\filter.php(1196): Journal3\Opencart\Model->dbQuery()
#3 F:\Inetpub\vhost in F:\Inetpub\vhosts\plpesca.com.br\plpesca\update\system\library\db\mysqli.php on line 48