JQuery 3.2.1 causes errors in console

edited August 2017 in Bug Reports
I'm brand new to FUEL CMS, loving it so far though. However I noticed that whenever I load JQuery version 3.2.1 using:
<?=jquery('3.2.1')?>
I see the following errors in the console:
[Violation] Avoid using document.write().

[Violation] Parser was blocked due to document.write()

jquery.min.js:2 jQuery.Deferred exception: markers.size is not a function TypeError: markers.size is not a function
at initMarkers (http://localhost/commerce/fuel/modules/fuel/assets/js/fuel/fuel_inline.min.js?c=:78:225)
at init (http://localhost/commerce/fuel/modules/fuel/assets/js/fuel/fuel_inline.min.js?c=:74:78)
at HTMLDocument. (http://localhost/commerce/fuel/modules/fuel/assets/js/fuel/fuel_inline.min.js?c=:96:123)
at j (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:29999)
at k (http://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:30313) undefined

jquery.min.js:2 Uncaught TypeError: markers.size is not a function
at initMarkers (fuel_inline.min.js?c=:78)
at init (fuel_inline.min.js?c=:74)
at HTMLDocument. (fuel_inline.min.js?c=:96)
at j (jquery.min.js:2)
at k (jquery.min.js:2)
Not sure how big of a deal these errors are.

Comments

  • edited 4:52PM
    Those are probably warnings that are being thrown only when you are logged into FUEL and viewing the front end of the site correct? FUEL is on an older version of jQuery which had a function called .size() which I believe has been removed in newer versions in favor of the property length.
Sign In or Register to comment.