JS optimization causing scripts to 404
-
The plugin’s javascript optimization settings are adding an & instead of a ? to any scripts it’s optimizing. This is breaking the scripts and causing them to 404. Here’s an example: https://thehungrywaitress.com/mexican-vegetables/
In the source code you’ll see https://thehungrywaitress.com/wp-content/plugins/google-analytics-dashboard-for-wp/assets/js/frontend-gtag.min.js&ver=7.22.0 and it should be https://thehungrywaitress.com/wp-content/plugins/google-analytics-dashboard-for-wp/assets/js/frontend-gtag.min.js?ver=7.22.0.
In the console, you’ll see the script 404ing.
This is preventing ads from loading and other scripts from functioning on any site that uses this setting, so we’re hoping to get this bug fixed as soon as possible. Thank you!
- This topic was modified 11 months, 3 weeks ago by .
- This topic was modified 11 months, 3 weeks ago by .
- This topic was modified 11 months, 3 weeks ago by .
- This topic was modified 11 months, 3 weeks ago by .
The page I need help with: [log in to see the link]
- The topic ‘JS optimization causing scripts to 404’ is closed to new replies.