Hello,
I have a problem with the avia-footer-scripts-***.js files that are updated every time direct changes are made to the site or there are automatic updates.
When these files are updated, graphical and functional problems occur on the site, so I am forced to manually set an old working version of those files each time.
The files in question are located in the wp-content/uploads/dynamic_avia/ folder.
Error:
Uncaught TypeError: Cannot read properties of undefined (reading ‘register’)
at avia-footer-scripts-***.js:156
at avia-footer-scripts-***.js:139:230
How can I solve the problem?
Hey webidoo,
Thank you for the inquiry.
It’s possible that some scripts or plugins don’t work well with the current compression settings. You may need to disable compression and use minification only. Another option is to completely disable the default compression settings and use a third-party caching/compression plugin such as Autoptimize, WP Rocket or WP Super Cache.
Best regards,
Ismael
Hello Ismael,
yes, that was exactly the problem, the file compression settings. I deactivated them and now everything seems to work correctly.
Thank you very much!