Notice: Trying to get property 'id' of non-object in /home/rtsbgco/public_html/modules/terranetpricelist/classes/UploaderXLS.php on line 185

Warning: Cannot modify header information - headers already sent by (output started at /home/rtsbgco/public_html/modules/terranetpricelist/classes/UploaderXLS.php:185) in /home/rtsbgco/public_html/classes/exception/PrestaShopException.php on line 41

[PrestaShopDatabaseException]

Can't create/write to file '/tmp/#sql_485_0.MAI' (Errcode: 28 "No space left on device")

				SELECT c.*, cl.*
				FROM `ps_category` c
				 INNER JOIN ps_category_shop category_shop
        ON (category_shop.id_category = c.id_category AND category_shop.id_shop = 1)
				LEFT JOIN `ps_category_lang` cl ON c.`id_category` = cl.`id_category` AND cl.id_shop = 1 
				
				RIGHT JOIN `ps_category` c2 ON c2.`id_category` = 29 AND c.`nleft` >= c2.`nleft` AND c.`nright` <= c2.`nright`
				WHERE 1  AND `id_lang` = 2
				 AND c.`active` = 1
				
				
				 ORDER BY c.`level_depth` ASC
				, category_shop.`position` ASC
				

at line 769 in file classes/db/Db.php

764.         if ($webservice_call && $errno) {
765.             $dbg = debug_backtrace();
766.             WebserviceRequest::getInstance()->setError(500, '[SQL Error] ' . $this->getMsgError() . '. From ' . (isset($dbg[3]['class']) ? $dbg[3]['class'] : '') . '->' . $dbg[3]['function'] . '() Query was : ' . $sql, 97);
767.         } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
768.             if ($sql) {
769.                 throw new PrestaShopDatabaseException($this->getMsgError() . '<br /><br /><pre>' . $sql . '</pre>');
770.             }
771. 
772.             throw new PrestaShopDatabaseException($this->getMsgError());
773.         }
774.     }