[PrestaShopDatabaseException]

Server shutdown in progress

SELECT c.id_cms, cl.link_rewrite, cl.meta_title
		FROM ps_cms c
		LEFT JOIN ps_cms_lang cl ON (c.id_cms = cl.id_cms AND cl.id_lang = 4)
		 INNER JOIN ps_cms_shop  asso_shop_cms
					ON  asso_shop_cms.id_cms = c.id_cms
					AND  asso_shop_cms.id_shop IN(1) 
		WHERE 1
		 AND c.id_cms IN (25) AND c.`active` = 1 GROUP BY c.id_cms
		ORDER BY c.`position`

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

598. 		if ($webservice_call && $errno)
599. 			WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. Query was : '.$sql, 97);
600. 		else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
601. 		{
602. 			if ($sql)
603. 				throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
604. 			throw new PrestaShopDatabaseException($this->getMsgError());
605. 		}
606. 	}
607. 
608. 	/**