New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JavaScript error: TypeError: Cannot read properties of undefined (reading 'call') #2477
Comments
Same here: #152 |
I got this error because of a plugin. After deactivating it, the error disappeared. In my case it was the Google Translator Plugin by Bul Hinsche GmbH. |
Gonna try deactivating each plugin one after another. |
Turns out, it was the Plugin Google Tag Manager & Google Analytics Enhanced E-Commerce Tracking für Shopware 6. Deactivation solved it for me. Thanks your comments anyway! |
I doubt this issue is on the plugin side. I had to disable them all to get my JavaScript working again. Is it really probable that all these plugins have a problem with 6.4.11.x? |
I can confirm about matomo. BUT not all the time. I was testing a lot to figure out which one is the bad guy. And sometimes 4/5 enabled works fine, but after changing and returning back to the working 4, not. Maybe somehow about the installation order or something? |
Hi everyone, I reopened this issue for the moment since it seems to be a general thing. We are investigating what exactly caused the problem and will get back to you asap. One of our partners suspected a change inside I attached the change with which I could fix the test plugin when applied to version 6.4.11.1. But we will investigate further using your mentioned plugins. Sorry for the circumstances.
|
Hi i had the same problem with SW 6.4.11.1 and this Plugin: somehow, after i contacted the developer, he managed to fix it in short time |
@SorinSu do you know how the developer fixed it? |
In my plugin it was the following import that caused the error: Can anyone verify if that might be their issue as well? I noticed that in NEXT-16624 - Add style and test fixes |
If anyone stumbles upon this in the future: |
PHP Version
7.4.13
Shopware Version
6.4.11.1
Expected behaviour
Have vendor JavaScript work (all.js).
Actual behaviour
JavaScript has error which breaks all other JavaScript:
How to reproduce
Upgrade to the currently latest shopware version (6.4.11.1), clear cache, compile theme, open shop with console tab open (I was using Chrome).
The text was updated successfully, but these errors were encountered: