Laravel Aimeos\MShop\Exception : Unable to call method "insertItem"

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
limack
Posts: 2
Joined: 06 May 2021, 13:02

Laravel Aimeos\MShop\Exception : Unable to call method "insertItem"

Post by limack » 06 May 2021, 13:06

Hi,
I have been facing this error for some time when trying to create a "merchant" account from the register form. How can I fix this?
Thanks!

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Laravel Aimeos\MShop\Exception : Unable to call method "insertItem"

Post by aimeos » 06 May 2021, 13:14

Does it work if you replace "insertItem()" by "insert" here in your application:
https://github.com/aimeos/aimeos/blob/1 ... er.php#L85
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

limack
Posts: 2
Joined: 06 May 2021, 13:02

Re: Laravel Aimeos\MShop\Exception : Unable to call method "insertItem"

Post by limack » 06 May 2021, 13:27

Yes, it works.Thanks you!

Post Reply