Good evening everyone,
I am creating an online store, and I have included a number of products without any hitch, now when I insert the custom field "multi-variant" at the time when I add the child products, causes me a son produced with the same id of the parent and the word "scalar" (see image) and when each child check the variant appears to me the error: "VMerror: Check VmTable #__virtuemart_products_it_it not passed. Neither slug nor obligatory value at product_name for self slug creation is given 0
VMerror: You are not an administrator or the correct vendor, storing of product canceled "
And until now had not given me any problems ... I do not understand anything! Help? Help? Help?
Can someone help me?
Thank you
Joomla 3.6.2
VirtueMart 3.0.18
post a screen of your MV setup please
There is.
Which browser do you use? and which php version are you running.
Hi,
I use Chrome and my PHP version is 5.6.24
Thank you, I wait an answer
Please help me!
Hi at all,
I have the same problem, no solution?
We are the only with this problem?!?!?
Help us!!!!
:'( :'( :'(
Facing the same problem on 3 websites that otherwise worked perfectly when running VM 3.0.16.
Joomla 3.6.2 / VM 3.0.18 / PHP 5.6.21 / MySQL 5.6.33
Any news on a fix for this?
but really no one can help us ???
it is not possible that only we have this problem, there has to be a bug in Virtuemart at this point.
Quote from: alesalva86 on October 19, 2016, 19:51:52 PM
but really no one can help us ???
it is not possible that only we have this problem, there has to be a bug in Virtuemart at this point.
No news is bad news, I'm afraid. Don't really know what to tell the clients... :-\
Me too!
I'm realy sad!!! :'( :'( :'(
Create the first child of at least one item in the Information tab.
After this error will disappear and you can add other child products.
Quote from: myweb11 on October 26, 2016, 23:21:49 PM
Create the first child of at least one item in the Information tab.
After this error will disappear and you can add other child products.
Thank you myweb11, but this has not really worked for me. :(
Clients have asked to be migrated to a new cart extension, so I am currently investigating that.
Please tell the php version, dslove has PHP 5.6.21 and the others?
dslove, none of our testers have this error and we have quite a lot. When I know how to reproduce it, I could fix it. But at the moment we dont know the conditions to reproduce the bug. Consider to buy a http://extensions.virtuemart.net/support/virtuemart-supporter-membership-detail and to write a ticket. I fear I need to debug this directly on your system.
Hi Milbo, and sorry it took me so long to reply to you.
My key issue right now is persuading customers to stay with VM and not migrate to another e-commerce extension. Please message me with your email so we can continue this conversation in private. I am willing to buy a Bronze subscription for one of the websites so you can take a look and see what's going on.
Best regards,
Alex
Seems we found it, ...
open /administrator/components/com_virtuemart/models/customfields.php around line 409 (function displayProductCustomfieldBE, case 'C'), search for
$field->options = (object)$field->options;
replace by
if(!empty($field->options) and is_array($field->options)){
$field->options = (object)$field->options;
}
Quote from: Milbo on November 13, 2016, 08:57:14 AM
Seems we found it, ...
open /administrator/components/com_virtuemart/models/customfields.php around line 409 (function displayProductCustomfieldBE, case 'C'), search for
$field->options = (object)$field->options;
replace by
if(!empty($field->options) and is_array($field->options)){
$field->options = (object)$field->options;
}
Fixed !
Thank you Milbo ;)
Joomla! Version 3.6.4 Stable
Virtuemart Version 3.0.18
PHP Version 7.0.12
Also fixed in this new version http://dev.virtuemart.net/attachments/download/1028/com_virtuemart.3.0.18.3_extract_first.zip
Which should also "heal" already broken ones (just open the product, check the form and store)
Hi Milbo, thanks for the solution & patch but unfortunately I still get an error:
Error
vmError: VmTable #__virtuemart_products_el_gr Check not passed. Neither slug nor obligatory value at product_name for auto slug creation is given 0
vmError: You are not an administrator or the correct vendor, storing of product cancelled
(I have installed the 3.0.18.3 patch & AIO)
This is another error. You cannot create a child, when the parent is not stored already. The child needs a name, which is derived from the parent one.
This happens when I try to save the changes to an already existing parent product.
I got the error myself now and the reason is that you create a new product and directly add the mv. I add some fixes and reupped it. You can see that the version changed, because the admin menu on the left shows now also the codename and svn version.
http://dev.virtuemart.net/attachments/download/1029/com_virtuemart.3.0.18.3_extract_first.zip
It seems to be ok now Milbo, thank you.
I will apply the latest version of the fix to the rest of the websites & post here if I discover any further issues.
Best regards,
I have the same problem. please help.
Quote from: Guido Q. on December 05, 2016, 21:23:30 PM
I have the same problem. please help.
Doesn't the above solution work for you Guido?
I was having similar issues, then updated to "VirtueMart 3.0.18.5 Blue Corvus 9390." Now I can add a product with category, and multivarient custom field on the admin side, and no errors. But when I try to add a ramification to the multivar, the front end gives "page can't be found" and "0 Cannot use object of type stdClass as array." Then any category listed with that product also reports page not found. Is there perhaps a trick to adding a ramification, or a bug in Virtuemart?
Turns out it was a problem with my Multivarient custom field. I somehow had "Internal variable" set to "Yes," but with no internal variable assigned. I put it back to "No" -- which the hover tooltip recommends -- and works.