Basket locale() error after upgrade to 2024.10

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!
columbo
Advanced
Posts: 151
Joined: 09 Oct 2019, 09:42

Re: Basket locale() error after upgrade to 2024.10

Post by columbo » 03 Dec 2024, 19:19

aimeos wrote: 03 Dec 2024, 09:19 Can you try this change: https://github.com/aimeos/aimeos-core/c ... a62e13e3fa
Maybe it's already enough.
Unfortunately this did not resolve the error, the message remains unchanged:

Typed property Aimeos\MShop\Price\Item\Standard::$precision must not be accessed before initialization
in packages / <my extension> / src / MShop / Price / Item / Standard.php : 166

columbo
Advanced
Posts: 151
Joined: 09 Oct 2019, 09:42

Re: Basket locale() error after upgrade to 2024.10

Post by columbo » 06 Dec 2024, 09:21

Are there any other options or is it really only possible to delete the old shopping baskets as described by jafo66?
jafo66 wrote: 03 Dec 2024, 17:49 Not the best answer, but I had to clear out all the old baskets, then everything started working properly again.

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

Re: Basket locale() error after upgrade to 2024.10

Post by aimeos » 06 Dec 2024, 11:28

If you find out what must be changed in the price item, we are happy to merge the required change into the next release.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply