Tagged: JS errors after Enfold Update
-
AuthorPosts
-
May 14, 2024 at 11:11 am #1443400
After Enfold update, our website throws following two errors (links to example URLs provided below):
(1) avia-head-scripts-b08126a0639d4748b54f89473acd46af—664325d8f00f2.js
Uncaught TypeError: Cannot set properties of undefined (setting ‘applyFilters’)
(2) avia-footer-scripts-d9409bc493954fe4d96d69b4bb99b6f2—664325d93f4be.js
Uncaught TypeError: Cannot read properties of undefined (reading ‘register’)May 14, 2024 at 11:24 am #1443401Hey Bettina,
Please try disabling Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression and enable Enfold Theme Options ▸ Performance ▸ Delete old CSS and JS files and clear any caching plugin you have and clear your server cache or CDN cache if enabled and then clear your browser cache and check again.
The files you posted abaove are cache files, after a couple of hours you can try enabling again, if you see the error again try disabling your caching plugin file minifying, when a plugin minify a second time after the theme it can cause errorsBest regards,
MikeMay 14, 2024 at 12:14 pm #1443405Hey Mike, Thanks.
Unfortunately, none of the suggested actions did fix it.
Applied the suggested settings in the theme options and cleared all caches everywhere (wordpress/WP Rocket, NGINX and local browser cache).
Any further ideas?May 14, 2024 at 4:01 pm #1443435Hi,
Please include an admin login in the Private Content area so we can investigate.Best regards,
MikeMay 14, 2024 at 4:34 pm #1443440This reply has been marked as private.May 15, 2024 at 4:30 am #1443552Hi,
Thank you for the info.
Where do you check for these errors? We don’t get the same errors in the browser console when we check the home page. Please provide a screenshot of the error using platforms like Savvyify, Imgur, or Dropbox.
Best regards,
IsmaelMay 15, 2024 at 7:21 am #1443581Error appears only on WOOcommerce shop level URLs, specifically on product category URLs.
No errors are thrown on the home page URL.Examples below.
- This reply was modified 6 months, 2 weeks ago by glueckspilz-shop.
May 15, 2024 at 9:11 am #1443609Hi,
Thanks for that. What happens if you temporarily deactivate all plugins except WooCommerce?
Best regards,
RikardMay 15, 2024 at 9:34 am #1443614Yes, I did go through those basic debugging routines. None of the plugin deactivations eliminated the errors.
May 16, 2024 at 9:05 am #1443839Hi,
Thanks for the update. Are we allowed to deactivate plugin, themes and cache for testing purposes? You might want to copy the site to a staging area, if you don’t want to test on your live site.
Best regards,
RikardMay 16, 2024 at 9:57 am #1443853May 16, 2024 at 2:56 pm #1443891Hi,
Thanks for the update. I deactivated all plugins except WooCommerce, and the error messages disappered after that. Please deactivate all plugins, then activate them one by one to what is triggering the error messages.
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.