Author Topic: Can't create a child product  (Read 626 times)

kevin.par3

  • Beginner
  • *
  • Posts: 5
  • A beginner
Can't create a child product
« 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

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1543
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: Can't create a child product
« Reply #1 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
Joomla 3.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3160
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Can't create a child product
« Reply #2 on: March 05, 2018, 17:33:44 pm »
Or try to disable error reporting in Joomla config the time you update the code

kevin.par3

  • Beginner
  • *
  • Posts: 5
  • A beginner
Re: Can't create a child product
« Reply #3 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!

kevin.par3

  • Beginner
  • *
  • Posts: 5
  • A beginner
Re: Can't create a child product
« Reply #4 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

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3160
  • Joomla & Virtuemart addon developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3.0.x.y
Re: Can't create a child product
« Reply #5 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

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26912
  • Always on vacation
    • Jenkin Hill Internet
Re: Can't create a child product
« Reply #6 on: March 18, 2018, 14:07:43 pm »
For information on the latest releases see http://forum.virtuemart.net/index.php?topic=139652.0
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM.3.2.15.9866 on Joomla 3.8.10 PHP 7.0.30

Testing VM.3.2.15.9898 on J3.8.10

kevin.par3

  • Beginner
  • *
  • Posts: 5
  • A beginner
Re: Can't create a child product
« Reply #7 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.