JITP Not Fully Loading
#2 Updated by Boone Gorges 8 months ago
- Target version set to 1.18.8
Some aspects of the site are not compatible with jQuery 3.x (introduced yesterday) and for some reason our automated tools for version fallback didn't work.
I've attached a screenshot showing the errors. I'll take a look at them. For the moment, I've forced the site to use the older jQuery and it is loading normally.
#4 Updated by Raymond Hoh 8 months ago
- Target version deleted (
Looks like the
enable-jquery-migrate-helper plugin is at fault here: https://github.com/WordPress/jquery-migrate-helper/issues/29
#5 Updated by Boone Gorges 8 months ago
Thanks, Ray. I tried patching enable-jquery-migrate-helper but it didn't seem to work (where "work" means "send the AJAX request to downgrade jQuery"). I know that the plugin is working more broadly, as I've gotten five downgrade notices in the last 24 hours from other Commons sites.
#7 Updated by Boone Gorges 8 months ago
- Status changed from New to Resolved
- Target version set to Not tracked
Looking more closely, it appears that there are a couple of jQuery 3 incompatibilities bieng triggered by two plugins: dynamic-content-gallery-plugin and iw-framework-plugin. The former has not been updated in 8 years. The latter was added as a requirement for the Roma theme, so is used only by JITP, and it also has not been updated since being added in 2015.
For the time being, we should keep legacy jQuery in place for this site.
In the longer run, it seems to me that we should either update Roma and its related plugins (#13450) or, if JITP is still active looking to move to a new theme, do nothing and assume that the new theme will not have such problems. On that assumption, I'm going to mark this ticket Resolved.