Skip to content

Too many redirects (possible conflict with SDK versions) #839

Open

Description

@arl1nd

🐞 bug report

Behavior:

  • What is the issue? (*)

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.

Versions: (*)

  • Freemius SDK Version: 2.13.0
  • WordPress Version: 6.9
  • PHP Version: 7.4 - 8.x

Plugin / Theme: (*)

  • Name: Kalium
  • Slug: kalium
  • Freemius ID: 15950

Additional Information:

  • Browser Type: Chrome/Firefox/Safari
  • Browser Version: Any
  • OS: Unix/Mac
  • Stack Traces:

Activity

  1. FauzanEdris commented on Mar 23, 2026

    @FauzanEdris

    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:

    Image

    Thank You

  2. FauzanEdris commented on Mar 23, 2026

    @FauzanEdris

    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.

  3. dusta commented on Oct 19, 2026

    @dusta

    #892 ping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions