Javascript errors
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!
- Wall0fDeath
- Posts: 28
- Joined: 30 Aug 2022, 13:56
Javascript errors
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
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
Re: Javascript errors
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?
Where does that file comes from?
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