montaneias Posted March 1, 2017 Share Posted March 1, 2017 Hi all, this is my first post in the forum, i'm not a programmer however i'm used to do some modifications on my websites. After search everywhere and can't find a solution. I'm using prestashop 1.6.1.11 On my server error log i have this error: [Wed Mar 01 12:35:56.008403 2017] [:error] [pid 16833] [client 000.000.000.000:13896] PHP Notice: Undefined variable: id_shop\\ in /var/www/html/prestashop/classes/SpecificPrice.php on line 179 On my /classes/SpecificPrice.php /** * score generation for quantity discount */ protected static function _getScoreQuery($id_product, $id_shop, $id_currency, $id_country, $id_group, $id_customer) { $select = '('; $priority = SpecificPrice::getPriority($id_product); foreach (array_reverse($priority) as $k => $field) { if (!empty($field)) { $select .= ' IF (`'.bqSQL($field).'` = '.(int)$$field.', '.pow(2, $k + 1).', 0) + '; } } i have copy this file from original prestashop 1.6.1.11.zip and overwrite it, but it is still generating the error. At this moment i can't tell where is this error coming from, anyone can help me? Thank you Link to comment Share on other sites More sharing options...
rachel01 Posted March 16, 2017 Share Posted March 16, 2017 Hi, Have you found a solution for this problem ? I've the same Thanks Link to comment Share on other sites More sharing options...
montaneias Posted March 21, 2017 Author Share Posted March 21, 2017 Hi, Have you found a solution for this problem ? I've the same Thanks Hi, not yet, still seeking some help. If you found something let me know. Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now