abramovi Posted March 14, 2016 Share Posted March 14, 2016 Hi All , I am tring for day to use csv import in order to import products. I am fully sure I am doing everything right and I am uploading good csv. however I am getting the following errors in debug mode: Warning on line 1006 in file /home/emashalcom/public_html/controllers/admin/AdminImportController.php[2] Parameter 3 to AdminImportControllerCore::fillInfo() expected to be a reference, value givenWarning on line 1006 in file /home/emashalcom/public_html/controllers/admin/AdminImportController.php[2] Parameter 3 to AdminImportControllerCore::fillInfo() expected to be a reference, value givenWarning on line 1006 in file /home/emashalcom/public_html/controllers/admin/AdminImportController.php[2] Parameter 3 to AdminImportControllerCore::fillInfo() expected to be a reference, value givenWarning on line 1006 in file /home/emashalcom/public_html/controllers/admin/AdminImportController.php[2] Parameter 3 to AdminImportControllerCore::fillInfo() expected to be a reference, value givenWarning on line 1006 in file /home/emashalcom/public_html/controllers/admin/AdminImportController.php[2] Parameter 3 to AdminImportControllerCore::fillInfo() expected to be a reference, value givenWarning on line 1006 in file /home/emashalcom/public_html/controllers/admin/AdminImportController.php[2] Parameter 3 to AdminImportControllerCore::fillInfo() expected to be a reference, value givenWarning on line 1006 in file /home/emashalcom/public_html/controllers/admin/AdminImportController.php[2] Parameter 3 to AdminImportControllerCore::fillInfo() expected to be a reference, value givenWarning on line 1006 in file /home/emashalcom/public_html/controllers/admin/AdminImportController.php[2] Parameter 3 to AdminImportControllerCore::fillInfo() expected to be a reference, value givenUnknown error on line 12 in file /home/emashalcom/public_html/modules/fieldtestimonials/libs/Params.php[8192] Methods with the same name as their class will not be constructors in a future version of PHP; FieldParams has a deprecated constructor Link to comment Share on other sites More sharing options...
mfernandezdd Posted March 16, 2016 Share Posted March 16, 2016 Hi, Yesterday I had the same problem and I solved it. In my case, I have Prestashop 1.6.1.4 and PHP 7. You have to change one line in /controllers/admin/AdminImportController.php Go to line 1006 and add & in variable $user_data if (!call_user_func_array($funcname, array($row, $k, &$user_data))) { That's all 3 Link to comment Share on other sites More sharing options...
oskardto Posted March 30, 2016 Share Posted March 30, 2016 Thank you very much @mfernandezdd . Work fine. Problem solved. Link to comment Share on other sites More sharing options...
JavierUpn Posted July 13, 2016 Share Posted July 13, 2016 Thanks Bro. You saved me one day searching in the web. Work for me. Link to comment Share on other sites More sharing options...
fortuner Posted September 8, 2016 Share Posted September 8, 2016 Hi, Yesterday I had the same problem and I solved it. In my case, I have Prestashop 1.6.1.4 and PHP 7. You have to change one line in /controllers/admin/AdminImportController.php Go to line 1006 and add & in variable $user_data if (!call_user_func_array($funcname, array($row, $k, &$user_data))) { That's all Marvelous! Genius! Solved all errors, thank you! PS. I had an error "unable to create friendly url" Link to comment Share on other sites More sharing options...
skara Posted September 12, 2016 Share Posted September 12, 2016 (edited) Hi, Yesterday I had the same problem and I solved it. In my case, I have Prestashop 1.6.1.4 and PHP 7. You have to change one line in /controllers/admin/AdminImportController.php Go to line 1006 and add & in variable $user_data if (!call_user_func_array($funcname, array($row, $k, &$user_data))) { That's all It works also for ps 1.6.1.6. Thank you very much. A simple char for many working hour ... Edited September 12, 2016 by skara (see edit history) Link to comment Share on other sites More sharing options...
speelgoed Posted September 14, 2016 Share Posted September 14, 2016 (edited) I have the same problem!. I have change line 1006 in /controllers/admin/AdminImportController.php but I still have the same problem. When I change the line, PS give a error 500 on the page for import. How can I solve this? !!Problem solves!! Edited September 14, 2016 by speelgoed (see edit history) Link to comment Share on other sites More sharing options...
ChewieTheWookie Posted November 9, 2016 Share Posted November 9, 2016 Thank you ! Solved my import problem on a 1.6.1.4, too ! Hi, Yesterday I had the same problem and I solved it. In my case, I have Prestashop 1.6.1.4 and PHP 7. You have to change one line in /controllers/admin/AdminImportController.php Go to line 1006 and add & in variable $user_data if (!call_user_func_array($funcname, array($row, $k, &$user_data))) { That's all Link to comment Share on other sites More sharing options...
Generaal Posted December 15, 2017 Share Posted December 15, 2017 In PS 1.7 are those fixed, but the cvs import do not working well, I use PHP version 7.0.1. Have some a solution for PS 7...? Link to comment Share on other sites More sharing options...
Edvinas Posted June 27, 2018 Share Posted June 27, 2018 1.7.3.3 and the same problem remain?? Please give us a solution!!! Link to comment Share on other sites More sharing options...
Inform-All Posted August 17, 2018 Share Posted August 17, 2018 Hi, I just came across this problem to. My mistake was that i had a typo mistake in my Categorie name. So when importing products the newer products couldn't be placed in a categorie. (PS 1.7) Link to comment Share on other sites More sharing options...
Devir Posted April 26, 2020 Share Posted April 26, 2020 hello guys I have this problem with prestashop 1.6.1.24 I have php 7.0 I change from 7.4 but still have this problem 30 errors No Name (ID: 1,http://quirigua.shop/img/fragrances/007JB1.jpg,007 Eau De Toilette Spray By James Bond,,Men's Cologne,24.73,27.5,50,1) cannot be saved Property Product->name is empty No Name (ID: 2,http://quirigua.shop/img/fragrances/007JB16.jpg,007 Eau De Toilette Spray By James Bond,,Men's Cologne,41,60,25,1) cannot be saved No Name (ID: 3,http://quirigua.shop/img/fragrances/M71974JM.jpg,007 Eau De Toilette Spray (Tester) By James Bond,,Men's Cologne,11,22.5,75,1) cannot be saved No Name (ID: 4,http://quirigua.shop/img/fragrances/00742MBON.jpg,007 Ocean Royale Eau De Toilette Spray By James Bond,,Men's Cologne,9,18.5,25,1) cannot be saved No Name (ID: 5,http://quirigua.shop/img/fragrances/00725TSTM.jpg,007 Ocean Royale Eau De Toilette Spray By James Bond,,Men's Cologne,24.73,27.5,50,1) cannot be saved No Name (ID: 6,http://quirigua.shop/img/fragrances/0071M.jpg,007 Quantum Eau De Toilette Spray By James Bond,,Men's Cologne,6.05,10,200,1) cannot be saved No Name (ID: 7,http://quirigua.shop/img/fragrances/007OROY.jpg,007 Quantum Eau De Toilette Spray By James Bond,,Men's Cologne,24.73,27.5,60,1) cannot be saved No Name (ID: 8,http://quirigua.shop/img/fragrances/007JM16ED.jpg,1 Mile Pour Homme Eau De Toilette Spray By Jean Rish,,Men's Cologne,12.5,24,200,1) cannot be saved No Name (ID: 9,http://quirigua.shop/img/fragrances/007Q25M.jpg,1 Million After Shave By Paco Rabanne,,Men's Cologne,36.56,45,150,1) cannot be saved No Name (ID: 10,http://quirigua.shop/img/fragrances/1MPH34JR.jpg,1 Million Deodorant Spray By Paco Rabanne,,Men's Cologne,19.5,34.5,125,1) cannot be saved No Name (ID: 11,http://quirigua.shop/img/fragrances/1MM34AS.jpg,1 Million Deodorant Stick By Paco Rabanne,,Men's Cologne,20.13,27.5,89,1) cannot be saved No Name (ID: 12,http://quirigua.shop/img/fragrances/OMPRDS5.jpg,1 Million Eau De Toilette Spray By Paco Rabanne,,Men's Cologne,35.44,45,56,1) cannot be saved No Name (ID: 13,http://quirigua.shop/img/fragrances/1MM25DS.jpg,1 Million Eau De Toilette Spray By Paco Rabanne,,Men's Cologne,41.44,60,120,1) cannot be saved No Name (ID: 14,http://quirigua.shop/img/fragrances/1M17MM.jpg,1 Million Eau De Toilette Spray By Paco Rabanne,,Men's Cologne,70,85,25,1) cannot be saved No Name (ID: 15,http://quirigua.shop/img/fragrances/ONM34M.jpg,1 Million Eau De Toilette Spray (Tester) By Paco Rabanne,,Men's Cologne,43,55,75,1) cannot be saved No Name (ID: 16,http://quirigua.shop/img/fragrances/1MMTS67.jpg,1 Million Eau De Toilette Spray (unboxed) By Paco Rabanne,,Men's Cologne,50,65,25,1) cannot be saved No Name (ID: 17,http://quirigua.shop/img/fragrances/OM34MT.jpg,1 Million Mini EDT By Paco Rabanne,,Men's Cologne,10.5,22,150,1) cannot be saved No Name (ID: 18,http://quirigua.shop/img/fragrances/1M34TSU.jpg,1 Million Cologne Eau De Toilette Spray By Paco Rabanne,,Men's Cologne,51,60,200,1) cannot be saved No Name (ID: 19,http://quirigua.shop/img/fragrances/1MM17M.jpg,1 Million Cologne Eau De Toilette Spray (Tester) By Paco Rabanne,,Men's Cologne,26.22,35,45,1) cannot be saved No Name (ID: 20,http://quirigua.shop/img/fragrances/1MCO42M.jpg,1 Million Lucky Eau De Toilette Spray By Paco Rabanne,,Men's Cologne,47.84,60,80,1) cannot be saved No Name (ID: 21,http://quirigua.shop/img/fragrances/1MCTT42.jpg,1 Million Prive Eau De Parfum Spray By Paco Rabanne,,Men's Cologne,38.64,55,45,1) cannot be saved No Name (ID: 22,http://quirigua.shop/img/fragrances/1MLU34M.jpg,1 Million Prive Eau De Parfum Spray By Paco Rabanne,,Men's Cologne,58,75,35,1) cannot be saved No Name (ID: 23,http://quirigua.shop/img/fragrances/1MPRI17M.jpg,1000 Eau De Parfum Spray By Jean Patou,,Women’s Perfume,18.23,26,300,1) cannot be saved No Name (ID: 24,http://quirigua.shop/img/fragrances/1MPRIV34M.jpg,1000 Eau De Parfum Spray By Jean Patou,,Women’s Perfume,27.26,40,25,1) cannot be saved No Name (ID: 25,http://quirigua.shop/img/fragrances/100033EDP.jpg,1000 Eau De Parfum Spray By Jean Patou,,Women’s Perfume,41.99,60,200,1) cannot be saved No Name (ID: 26,http://quirigua.shop/img/fragrances/10001PS.jpg,1000 Eau De Parfum Spray (Tester) By Jean Patou,,Women’s Perfume,49,65,150,1) cannot be saved No Name (ID: 27,http://quirigua.shop/img/fragrances/W1000EDP.jpg,1000 Eau De Toilette Spray By Jean Patou,,Women’s Perfume,17.36,25,45,1) cannot be saved No Name (ID: 28,http://quirigua.shop/img/fragrances/100PST.jpg,,,,,,,) cannot be saved No Name (ID: 29,http://quirigua.shop/img/fragrances/10001OZTSW.jpg,,,,,,,) cannot be saved if you have any idea how solve this issue please let me know I have several days working on it thanks every one Link to comment Share on other sites More sharing options...
sg_sg Posted July 26, 2022 Share Posted July 26, 2022 I was trying to import products in csv but getting below errors and product ID generates some thing different 70001437 like this but my product id in csv file is 500. Warning on line 197 in file public_html/var/cache/dev/smarty/compile/25/7b/e2/257be25332b29132b447a5d446a3c94345274f51_0.file.form.tpl.php [2] Illegal string offset 'title' Notice on line 197 in file public_html/var/cache/dev/smarty/compile/25/7b/e2/257be25332b29132b447a5d446a3c94345274f51_0.file.form.tpl.php [8] Uninitialized string offset: 0 Notice on line 98 in file public_html/var/cache/dev/smarty/compile/25/7b/e2/257be25332b29132b447a5d446a3c94345274f51_0.file.form.tpl.php [8] Undefined index: is_default Notice on line 98 in file public_html/var/cache/dev/smarty/compile/25/7b/e2/257be25332b29132b447a5d446a3c94345274f51_0.file.form.tpl.php [8] Undefined index: is_default Anyone please help me to resolve this issue why product id is not updating same as csv Thanks in advance 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