Cannot add products after database refresh

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!
zaheer
Posts: 19
Joined: 12 Nov 2020, 10:22

Cannot add products after database refresh

Post by zaheer » 15 Jan 2021, 05:45

I needed to recreate the database so I dropped all tables and re-created them using "php artisan aimeos:setup".
After that I created a few sites under default.
Now when I am trying to add products to my sites I get this error message on save:
Item Successfully saved.
and then
Item with ID "8" in "product.id" not found
error.jpg
error.jpg (153.13 KiB) Viewed 806 times
database.jpg
database.jpg (88.34 KiB) Viewed 806 times
When I check the product table, record is added. But it is not shown in Admin panel.
Can someone please help what I have missed.

Laravel 8
PHP 7.4
Aimeos 2020.10
MariaDB

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

Re: Cannot add products after database refresh

Post by aimeos » 15 Jan 2021, 12:17

Hard to say without knowing your setup and customizations. A stack trace of the exception would be helpful.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

zaheer
Posts: 19
Joined: 12 Nov 2020, 10:22

Re: Cannot add products after database refresh

Post by zaheer » 15 Jan 2021, 12:20

Managed to solve the issue !

Post Reply