wordpress-sdk icon indicating copy to clipboard operation
wordpress-sdk copied to clipboard

Safe Mode & Clone Resolution: WP_SITEURL vs. WP_HOME

Open ouun opened this issue 3 years ago • 0 comments

🐞 bug report

Behavior: In a WordPress Multisite instance with WordPress in a subfolder /cms the "Safe Mode & Clone Resolution" features is failing permamentely.

In the Network Dashboard I get the notice, that subdomain.example.com is a dupicate of subdomain.example.com/wp. These are the exact same pages, the only difference is that first is what WP_HOME would output and latter what WP_SITEURL would output. Solving this by choosing the option that subdomain.example.com is the new home of subdomain.example.com/wp solves that until the dashboard of the subsite is accessed. Here Freemius registers again with subdomain.example.com/wp and the Network Dashboard again wants tol solve that.

Versions: (*)

  • Freemius SDK Version: 2.5.0.1
  • WordPress Version: 6.1
  • PHP Version: 7.4

Plugin / Theme: (*)

  • Name: WP Stackable Premium
  • Slug: sugb_fs
  • Freemius ID: ?

Plugin / Theme: (*)

  • Name: WP Stackable Premium & Blocksy Pro
  • Slug: blc_fs
  • Freemius ID: ?

Additional Information: I am using the following package to auto activate the licenses on subsites: https://github.com/squarecandy/freemius-auto-activation

ouun avatar Aug 07 '22 08:08 ouun