s.cam Posted June 19, 2014 Share Posted June 19, 2014 Hi there. I recently had this error display whilst trying to upload a csv file of combinations. I'm not sure what it means or how to fix this. Bellow is the error I receive and I have also attached a screen dump of the issue. Any help on this matter would be greatly appreciated. I want my store to go live and this is the only thing standing in my way. [PrestaShopException] Property Combination->reference length (41) must be between 0 and 32at line 837 in file classes/ObjectModel.php 831.832. $message = $this->validateField($field, $this->$field);833. if ($message !== true)834. {835. if ($die)836. throw new PrestaShopException($message);837. return $error_return ? $message : false;838. }839. }840.841. return true; •ObjectModelCore->validateFields - [line 255 - classes/ObjectModel.php] - [0 Argument]•ObjectModelCore->getFields - [line 455 - classes/ObjectModel.php] - [0 Argument]•ObjectModelCore->add - [line 120 - classes/Combination.php] - [2 Arguments]•CombinationCore->add - [line 1510 - classes/Product.php] - [0 Argument]•ProductCore->addAttribute - [line 1255 - classes/Product.php] - [12 Arguments]•ProductCore->addCombinationEntity - [line 1913 - controllers/admin/AdminImportController.php] - [15 Arguments]•AdminImportControllerCore->attributeImport - [line 3015 - controllers/admin/AdminImportController.php] - [0 Argument]•AdminImportControllerCore->postProcess - [line 158 - classes/controller/Controller.php] - [0 Argument]•ControllerCore->run - [line 348 - classes/Dispatcher.php] - [0 Argument]•DispatcherCore->dispatch - [line 53 - admin3018/index.php] - [0 Argument] Link to comment Share on other sites More sharing options...
Dh42 Posted June 19, 2014 Share Posted June 19, 2014 The reference number for the combination is too long. 1 Link to comment Share on other sites More sharing options...
csschopper.com Posted June 19, 2014 Share Posted June 19, 2014 Exception is clearly showing that "Property Combination->reference length (41) must be between 0 and 32", so please try by writing small reference number. Regards, Alok Link to comment Share on other sites More sharing options...
s.cam Posted June 20, 2014 Author Share Posted June 20, 2014 Thanks. That helped. Link to comment Share on other sites More sharing options...
csschopper.com Posted June 20, 2014 Share Posted June 20, 2014 Great. Please mark this topic Solved. Regards, Alok Link to comment Share on other sites More sharing options...
Recommended Posts