Ajax-loader.gif causes mixed content warning

the ajax-loader.gif is causing a mixed content warning. I’m running my site on WP Engine and I have all URLs secured. Everything should be going over SSL… I’m trying to develop an app version of my site and this little gif is causing me all kinds of problems.

It’s basically the same problem as reported here:
https://wordpress.org/support/topic/s2member-ajax-loadergif-https-mixed-content-issue-1/

The code that calls the ajax-loader.guf looks something like this:

<?php echo $vars["i"]; ?>/ajax-loader.gif

However, echo $vars[“i”]; is returning http and not https.

How can I fix this?

Did you try the fix specified in the WP Codex on the page to which Jason linked from the thread you mention?

Okay, the solution here was a setting in s2Member under general options -> login welcome page -> Alway redirect non-admin users using http?
This was set to “yes”
My bad.