Notice: fwrite(): write of 273 bytes failed with errno=28 No space left on device in /var/www/www-root/data/www/ on line 31

Fatal error: Uncaught Exception: Error: Disk full (/tmp/#sql_7fc3_47.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")<br />Error No: 1021<br />SELECT p.product_id, p.date_available, (SELECT AVG(rating) FROM `oc_review` r1 WHERE r1.product_id = p.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating FROM (SELECT * FROM `oc_product` p1 WHERE p1.status = '1' AND p1.product_id = (SELECT p1.product_id FROM `oc_product_to_store` WHERE p1.product_id = product_id AND store_id = '0') GROUP BY p1.product_id ORDER BY p1.date_available DESC, p1.product_id DESC LIMIT 0, 20) as p LEFT JOIN `oc_product_description` pd ON (p.product_id = pd.product_id) WHERE p.date_available >= '2016-07-13' AND pd.language_id = '1' GROUP BY p.product_id ORDER BY (p.quantity > 0) DESC, p.date_available DESC, LCASE( ASC LIMIT 0, 20 in /var/www/www-root/data/www/ Stack trace: #0 /var/www/www-root/data/www/ DB\MySQLi->query in /var/www/www-root/data/www/ on line 48