Table 'idiabety_pr2.pr_omnibus_prices' doesn't exist<br /><br /><pre>SELECT * FROM pr_omnibus_prices WHERE id_shop='1' and currency='1' and id_product='287' and id_product_attribute=0 ORDER BY price DESC</pre>
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. }
380. $this->result = $this->_query($sql);
381. }
382. }
383.
384. if (_PS_DEBUG_SQL_) {
385. $this->displayError($sql);
386. }
387.
388. return $this->result;
389. }
390.
Argument [0] SELECT * FROM pr_omnibus_prices WHERE id_shop='1' and currency='1' and id_product='287' and id_product_attribute=0 ORDER BY price DESC
608. }
609.
610. return $this->execute($sql, $use_cache);
611. }
612.
613. $this->result = $this->query($sql);
614.
615. if (!$this->result) {
616. $result = false;
617. } else {
618. if (!$array) {
Argument [0] SELECT * FROM pr_omnibus_prices WHERE id_shop='1' and currency='1' and id_product='287' and id_product_attribute=0 ORDER BY price DESC
123. if (!$id_product) {
124. $id_product = $params['product']['id_product'];
125. }
126. $sql = 'SELECT * FROM ' . _DB_PREFIX_ . 'omnibus_prices'
127. . ' WHERE id_shop=\'' . pSQL($id_shop) . '\' and currency=\'' . pSQL($currency) . '\' and id_product=\'' . pSQL($id_product) . '\' and id_product_attribute=0 ORDER BY price DESC';
128. if ($result = Db::getInstance()->ExecuteS($sql)) {
129. foreach ($result as $row) {
130. $price = $row['price'];
131. $pricewithtax = $row['pricewithtax'];
132. }
133. }
Argument [0] SELECT * FROM pr_omnibus_prices WHERE id_shop='1' and currency='1' and id_product='287' and id_product_attribute=0 ORDER BY price DESC
1002. return $output;
1003. }
1004.
1005. public static function coreCallHook($module, $method, $params)
1006. {
1007. return $module->{$method}($params);
1008. }
1009.
1010. public static function coreRenderWidget($module, $hook_name, $params)
1011. {
1012. $context = Context::getContext();
Argument [0]
(1/1) OutOfMemoryException
in Tools.php line 1052