Http to https error in infinity.js

#1

Good afternoon all,
I just changed my web from http to https. and works ok , or at least it’s look like. nevertheless the google browser inspector detected the following error:

I don’t know if is a critical error, or what kind of problem could bring in the future.
or just ignore it.

thanks
Carlos.

infinity.js:14 Uncaught ReferenceError: infiniteScroll is not defined
at infinity.js:14
at infinity.js:660

 // HTTP ajaxurl when site is HTTPS causes Access-Control-Allow-Origin failure in Desktop and iOS Safari
if ( "https:" == document.location.protocol ) {
	infiniteScroll.settings.ajaxurl = infiniteScroll.settings.ajaxurl.replace( "http://", "https://" );
}
#2

Try a bin/gpm selfupdate or selfupgrade cant remember. Let me know how it goes !!

#3

This post was flagged by the community and is temporarily hidden.

#4

Thanks @holzy can you orient me little bit further? I’m still lost.

Best
C

#5

Go to the root of your project and run that command in a terminal.