Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Http to https error in infinity.js

Started by carlos 8 years ago · 3 replies · 835 views
8 years ago

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.

JS
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://" );
}
last edited 05/11/19 by carlos
8 years ago

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

8 years ago

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

Best
C

8 years ago

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

Suggested topics

Topic Participants Replies Views Activity
General · by themetman, 23 hours ago
2 40 16 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago