https not loading on subsites with WP update


About a year ago, we had an issue with subsites creating an infinite loop when trying to access https..

The solution last year was to do the following:

_____________ excerpt of conversation ________________

Yeah the certs are setup correctly :slight_smile:

I found the issue but I am not sure what caused it. My techs commented out the following in the core (I know)…

comment out lines 6&7 in template-loader.php in includes

//if ( defined(‘WP_USE_THEMES’:wink: && WP_USE_THEMES )


I am not sure what caused this. We create child themes off Canvas. Another forum said it was a plugin. I am not so convinced. The main site in multiuser worked fine. It was only the subsites and this applied to all subsites with different plugin configs. I have a few network enabled.


We never found out what was causing the https error on subsites only other than commenting this out. Now when the same lines are commented out, it doesn’t resolve the issue.

At the time, I thought it was because we had //define(‘WP_DEFAULT_THEME’, ‘Canvas’:wink:; in the wp-config but removing it didn’t fix the issue.

Anyway, I have some others looking at it and you guys always have great ideas, so you help is greatly appreciated.