WisQQ Posted November 20, 2020 Share Posted November 20, 2020 (edited) Hello, After upgrading to 1.7.6.9 i have issues with adding features to product. I have few blank position in my list of features and i' able to add these to product and save it. But when i try to add actual value i get error saying this value is not valid. Debug mode doesnt show anything except these: On my test website there is no such issue There is no problem if the list of values is small. For example one group of features with 21 values works fine, but with over 100 values this issue showsup. One group of features has over 3000 values. EDIT: It looks like its a list rendering issue. EDIT2: Once u save one value from the features group you are able to change it to different value and save it without problems. Edited November 20, 2020 by WisQQ (see edit history) Link to comment Share on other sites More sharing options...
JBW Posted November 22, 2020 Share Posted November 22, 2020 Whats your PHP version? Link to comment Share on other sites More sharing options...
WisQQ Posted November 22, 2020 Author Share Posted November 22, 2020 (edited) On 11/22/2020 at 4:57 AM, JBW said: Whats your PHP version? PHP 7.2.33 Test site is on the same server as main, both have the same settings. But only main one has this issue. EDIT: If you have similar problem check features in back office by CTRL+F and look for --. There were empty values which were deleted from table feature_value_lang, but they were left inside feature_value table. Edited January 8, 2021 by WisQQ found the issue (see edit history) Link to comment Share on other sites More sharing options...
ELEGANTAL Posted April 5, 2021 Share Posted April 5, 2021 I had similar issue and in my case, there were features with empty name. I have no idea how Prestashop allowed features to be created with empty name, but deleting those features solved the problem. Link to comment Share on other sites More sharing options...
advancednet Posted May 20, 2021 Share Posted May 20, 2021 Hello, I had the same problem after migrating from PS 1.6 to PS 1.7.7. When I deleted features with empty names from features list, problem disappeared and product edit working fine. Best regards Adam Link to comment Share on other sites More sharing options...
J.G. Posted October 22, 2021 Share Posted October 22, 2021 On 5/20/2021 at 11:58 AM, advancednet said: Hello, I had the same problem after migrating from PS 1.6 to PS 1.7.7. When I deleted features with empty names from features list, problem disappeared and product edit working fine. Best regards Adam Thank you, i had the same problem and your solution works like a charm Link to comment Share on other sites More sharing options...
Maurice Posted October 16, 2022 Share Posted October 16, 2022 Hi i have this problem with 1.7.8.7 since one month after prestashop Update and i m reading with attention this solution. I have more than 20 Features with 1000 Vlause for each Features Now anyone can tell me how to find Features with empety names? because in my Fetaures List every Features have a Name Thanks Regards Link to comment Share on other sites More sharing options...
ELEGANTAL Posted October 16, 2022 Share Posted October 16, 2022 You can sort features by name by clicking the arrows. Please check screenshot attached. Link to comment Share on other sites More sharing options...
Maurice Posted October 16, 2022 Share Posted October 16, 2022 Dear Elegantal , Thanks i check My 19 Features and every features have a name i think , only think that the problem could be in Value Features (each single Feature have about 1000 Value) What you think if i delete value fetaures and Upload again with some tool as Store Commander? Link to comment Share on other sites More sharing options...
ELEGANTAL Posted October 16, 2022 Share Posted October 16, 2022 You can also sort feature values by clicking the arrows. Did you try that? Did you see any empty value? If you don't have any feature with empty name and if you don't have any empty value, then problem might be somewhere else. Link to comment Share on other sites More sharing options...
Maurice Posted October 16, 2022 Share Posted October 16, 2022 Hi Elegantal i do not check yet the Value in the features i should check about 20 features with almost 1000 Value Ok i will do that e will post the result i would thank you for your support Link to comment Share on other sites More sharing options...
ELEGANTAL Posted October 16, 2022 Share Posted October 16, 2022 No problem. You don't have to check with 1000 value for each feature. Just open one feature and sort values by name using arrows. If there are empty features, they should appear on top. So basically you will do 2-3 clicks inside every feature. Link to comment Share on other sites More sharing options...
Maurice Posted October 16, 2022 Share Posted October 16, 2022 (edited) Sad to say that i did not find any empty value , i m testing on fresh prestashop Install with Original Features ofactive Shop and i get this error but i really think that error should be in Features , this ibad issue appeared after the update i changed even php version , nothing to do I ran out of my mental resources if you have some smart idea i really appreciate The question is this i add new product i put 3 no default features , tan i add another feature custom save , Ok , than i go on weight product , put the weight save and i got the classic error in feature , this value is not valid )not in the weight) in the custom Feature I forget to mention as follow: If i add product with Mandatory Features , No problem i will never get error , but if add another Feature wit Custom Value i will get this value is not valid Edited October 16, 2022 by Maurice (see edit history) Link to comment Share on other sites More sharing options...
ELEGANTAL Posted October 16, 2022 Share Posted October 16, 2022 Sorry, I have no idea what could be wrong. It is hard to suggest you to delete all features and see if it solves the problem, because you have too many features. Deeper investigation might be needed by an expert. Link to comment Share on other sites More sharing options...
Maurice Posted October 16, 2022 Share Posted October 16, 2022 Hi , i would share this issue I installed in a test shop Fresh Prestashop 1.7.8.7 (same version of my store) Than i configured 4 Features , 3 Features with 1 Value and One without Value The result is the same if i save the first 3 Features with Internal Value Ok i can save product , but if i add the Feature With Custom Value , i will get same error this value is not valid I repeat Fresh Install 1.7.8.7 i will try to post on giftHub , if anyone have some information about this Bug appreciate a comment Regards Maurice 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