Locale object not available

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!
krzysiekp
Posts: 85
Joined: 05 Nov 2021, 16:19

Locale object not available

Post by krzysiekp » 22 Nov 2021, 09:32

I have address /shop/checkout/address?site=default in browser but if I change for example /shop/checkout/address?site=default34324 I receive error
Screenshot_2.jpg
Screenshot_2.jpg (119.42 KiB) Viewed 645 times
How to prevent such errors as someone will add something to the address ?

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

Re: Locale object not available

Post by aimeos » 23 Nov 2021, 09:37

In production mode (change APP_DEBUG=true to APP_DEBUG=false), Laravel will display a general error message instead of the debug output if someone adds an invalid site parameter to the URL.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply