Notice: Undefined index: id_theme in /www/htdocs/w013b382/shop.tapeziertische-deutschland.de/classes/shop/Shop.php on line 672

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w013b382/shop.tapeziertische-deutschland.de/classes/shop/Shop.php:672) in /www/htdocs/w013b382/shop.tapeziertische-deutschland.de/classes/exception/PrestaShopException.php on line 37

[PrestaShopDatabaseException]

Table 'd01fc461.ps_theme' doesn't exist

			SELECT su.physical_uri, su.virtual_uri, su.domain, su.domain_ssl, t.id_theme, t.name, t.directory
			FROM ps_shop s
			LEFT JOIN ps_shop_url su ON (s.id_shop = su.id_shop)
			LEFT JOIN ps_theme t ON (t.id_theme = s.id_theme)
			WHERE s.id_shop = 1
			AND s.active = 1 AND s.deleted = 0 AND su.main = 1 LIMIT 1

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

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