Javascript errors

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!
User avatar
Wall0fDeath
Posts: 28
Joined: 30 Aug 2022, 13:56

Javascript errors

Post by Wall0fDeath » 02 Nov 2022, 15:46

Hi,
Laravel - 9
Aimeos - 2022.10 latest
jQuery - v3.3.1 (as it says in the javascript file)
JqueryUI - 1.12.1 ( as it says in the aimeos.js )

I get the following errors during js load:
==========================================
1:
Uncaught TypeError: Cannot read properties of undefined (reading 'ui') aimeos.js?v=1:6
==========================================
2: (I guess this is a result of the first error)
Uncaught ReferenceError: Aimeos is not defined
at Object.onSearchSuppliers (catalog-filter.js?v=1:303)
at Object.init (catalog-filter.js?v=1:410)
at catalog-filter.js?v=1:424
==========================================
My Laravel is running in a docker (Debian GNU/Linux 11 (bullseye)), the CSP now lets everything through with unsafe-inline.
It was installed as laravel package as it says in the install guide.

I 'd like to ask for a little help with this issue.
If this is a version problem is there any 'nice' way, to update the used js?
Thank you in advance

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

Re: Javascript errors

Post by aimeos » 03 Nov 2022, 10:26

The mentioned aimeos.js file isn't something from the official Aimeos source - at least not in the admin backend.
Where does that file comes from?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply