Error after update Adding product with ID is not allowed
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!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Error after update Adding product with ID is not allowed
Hello
i have
OS: window 10
"php": "^7.2",
"aimeos/ai-payments": "^2021.01",
"aimeos/aimeos-laravel": "~2021.01",
"laravel/framework": "^6.2",
i do a update for aimeos
"aimeos/aimeos-laravel": "~2020.04" to "~2021.01",
everything works except basket, i have this error "Adding product with ID 19 is not allowed" ?
can someone help me please?
Thanks for your answer.
i have
OS: window 10
"php": "^7.2",
"aimeos/ai-payments": "^2021.01",
"aimeos/aimeos-laravel": "~2021.01",
"laravel/framework": "^6.2",
i do a update for aimeos
"aimeos/aimeos-laravel": "~2020.04" to "~2021.01",
everything works except basket, i have this error "Adding product with ID 19 is not allowed" ?
can someone help me please?
Thanks for your answer.
Re: Error after update Adding product with ID is not allowed
This error is usually the result if the product is not attached to any category:
https://github.com/aimeos/ai-controller ... ry.php#L53
https://github.com/aimeos/ai-controller ... ry.php#L53
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Error after update Adding product with ID is not allowed
Hello,
but the product id datadase is affected to a category in table mshop_index_catalog.
Thanx
but the product id datadase is affected to a category in table mshop_index_catalog.
Thanx
Re: Error after update Adding product with ID is not allowed
Is this also the case after you execute:
Code: Select all
php artisan aimeos:jobs index/rebuild
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Error after update Adding product with ID is not allowed
Hello
the command deletes the list in the table mshop_index_catalog but does not solve the problem.
Thanks
the command deletes the list in the table mshop_index_catalog but does not solve the problem.
Thanks
Re: Error after update Adding product with ID is not allowed
If the record from mshop_index_catalog is deleted, then there's no catalog relation in the mshop_product_list table. Note that one of the biggest changes between 2021 and 2022 versions is that the category<->product relations moved from mshop_catalog_list to mshop_product_list table. The setup tasks should migrate them automatically.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
