Jump to content

[SOLVED] Fatal Error on customer edition


Recommended Posts

Hi, 

 

I have problem with customer editing. When I click "edit" on a customer I see small details on it. But when I click on customer to see more details I see a white page with details (like txt file) and on the bottom of it i see fatal error. 

 

I saw in 1.5.6.2 changelog it should be corrected but I have 1.6.0.8 and still it appars.

 

Can you help?

Karol

Link to comment
Share on other sites

The same issue like mine. 

 

I've just turned on debug mode and tried to open my domain and I saw that:

 

 

[PrestaShopDatabaseException]

Unknown column 'id_shop' in 'where clause'
 

            SELECT w.`id_wishlist`, w.`name`, w.`token`, w.`date_add`, w.`date_upd`, w.`counter`
            FROM `ps_wishlist` w
            WHERE `id_customer` = 346
            AND id_shop = 1
            ORDER BY w.`name` ASC

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

 

629.             WebserviceRequest::getInstance()->setError(500, '
 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
630.         }
631.         else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
632.         {
633.             if ($sql)
634.                 throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
635.             throw new PrestaShopDatabaseException($this->getMsgError());
636.         }
637.     }
638.
639.     /**
Link to comment
Share on other sites

×
×
  • Create New...