VirtueMart Forum

VirtueMart 2 + 3 => Product creation => Topic started by: kevin.par3 on March 05, 2018, 15:08:24 pm

Title: Can't create a child product
Post by: kevin.par3 on March 05, 2018, 15:08:24 pm
Hi,

Before, I can add a child product just by clicking the the "add child product" button from the custom field tab. But now, it suddenly stops me from creating a child product, when I tried clicking the button, I am receiving this error "Error Child product not created successfully."

I tried checking the error log and I can see these errors:

PHP Deprecated:  Non-static method VmConfig::isJ15() should not be called statically, assuming $this from incompatible context in /home/xxxxx/public_html/yyyyy/components/com_onepage/overrides/vmplugin.php on line 1414

PHP Strict Standards:  Declaration of OPCLang::sprintf() should be compatible with vmText::sprintf($string) in /home/xxxxx/public_html/yyyyy/components/com_onepage/helpers/language.php on line 29

Are these errors the one stopping me from creating the child products? If yes, how can I remove/fix those issues?

Sorry I am very new to joomla development so I am not very familiar on how it works.

Hope someone could help me here solve this issue. Thank you in advance!


Currently using VM3.2.12 on Joomla 3.8.5 PHP 5.6.32
Title: Re: Can't create a child product
Post by: Jörgen on March 05, 2018, 15:10:08 pm
Looks like You have to talk with Your One page checkout supplier.

regards

Jörgen @ Kreativ Fotografi
Title: Re: Can't create a child product
Post by: Studio 42 on March 05, 2018, 17:33:44 pm
Or try to disable error reporting in Joomla config the time you update the code
Title: Re: Can't create a child product
Post by: kevin.par3 on March 18, 2018, 09:39:13 am
Hi Jörgen,

I was able to solve the errors I found in the error logs. I do not see any error now but I still can't create child product. When I tried to hit the add child product button, I am still receiving the same error which is "Error Child product not created successfully" and then it redirects to the product list page. Any more idea how to solve this?

I attached here the screenshot of my custom field tab, hope it might help.

Thanks in advance!
Title: Re: Can't create a child product
Post by: kevin.par3 on March 18, 2018, 09:40:36 am
Or try to disable error reporting in Joomla config the time you update the code


I already disabled the error reporting but I am still having the same issue
Title: Re: Can't create a child product
Post by: Studio 42 on March 18, 2018, 12:56:13 pm
Milbo reported that it's solved in the new release, see http://dev.virtuemart.net/projects/virtuemart/files and get last beta
I know it's not the best solution, but you can use Vm Be pro to add child to product, you have only to modify the parent ID after product creation in Vm Be pro, see https://shop.st42.fr/en/products/vm-be-pro-batch-product-edit.htm
Title: Re: Can't create a child product
Post by: jenkinhill on March 18, 2018, 14:07:43 pm
For information on the latest releases see http://forum.virtuemart.net/index.php?topic=139652.0
Title: Re: Can't create a child product
Post by: kevin.par3 on March 20, 2018, 07:13:08 am
Milbo reported that it's solved in the new release, see http://dev.virtuemart.net/projects/virtuemart/files and get last beta
I know it's not the best solution, but you can use Vm Be pro to add child to product, you have only to modify the parent ID after product creation in Vm Be pro, see https://shop.st42.fr/en/products/vm-be-pro-batch-product-edit.htm

I installed the virtuemart 3.2.13 r9797 but I am still having the issue regarding the adding of child product.