You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Too many redirects (possible conflict with SDK versions) #839
We are receiving an increased amount of reports from our customers where their site gets stuck on redirect loop as soon as they receive the theme update with the latest version of Freemius SDK 2.13.0
This was not happening before but now we have more than 10 users that have reported this.
When you manually disable the plugins that use Freemius SDK, re-open admin dashboard, then enabling the plugins would not cause the issue. Once the updated Freemius SDK runs for the first time alone (I guess), then the problems disappear.
I gave users the theme bundled with Freemius SDK 2.12 and the problem did not appeared.
What is the expected behavior?
I'd suggest investigating the calls to fs_redirect() function as the root of the issue to avoid entering the redirect loop.
After further investigation, I found that the Composer vendor (Freemius SDK) cannot be properly loaded within the plugins_loaded hook. When it is loaded inside the plugins_loaded hook, the redirect issue occurs.
Activity
FauzanEdris commentedon Mar 23, 2026
Hello,
I am experiencing a similar issue. I am currently integrating Freemius into my plugin and using Composer to install the SDK.
I noticed that the Royal Elementor plugin also uses Freemius. When this plugin is active, the redirect issue can be reproduced.
Upon further investigation, it appears that the following code is causing an infinite redirect loop:
Thank You
FauzanEdris commentedon Mar 23, 2026
After further investigation, I found that the Composer vendor (Freemius SDK) cannot be properly loaded within the
plugins_loadedhook. When it is loaded inside theplugins_loadedhook, the redirect issue occurs.dusta commentedon Oct 19, 2026
#892 ping