Return value of Aimeos\MShop\Order\Item\Standard::getRelatedId() must be of the type string, null returned
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Return value of Aimeos\MShop\Order\Item\Standard::getRelatedId() must be of the type string, null returned
After updating to Aimeos 22, the following error occurs on the Aimeos backend page for orders:
Re: Return value of Aimeos\MShop\Order\Item\Standard::getRelatedId() must be of the type string, null returned
To which version did you update? 22.10.1?
Did you run the migrations? The relatedid column in the mshop_order table seems to be still "DEFAULT NULL" instead of "DEFAULT ''" and the column contains NULL values.
Did you run the migrations? The relatedid column in the mshop_order table seems to be still "DEFAULT NULL" instead of "DEFAULT ''" and the column contains NULL values.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Return value of Aimeos\MShop\Order\Item\Standard::getRelatedId() must be of the type string, null returned
The table Structure was ok, i replaced NULL values with "" and its working now. I have aimeos 22.7 atm.
Thank you for the Help!
Thank you for the Help!