Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin menu "Themedd License": Site status wrong #192

Open
flowdee opened this issue Mar 18, 2018 · 1 comment
Open

Admin menu "Themedd License": Site status wrong #192

flowdee opened this issue Mar 18, 2018 · 1 comment
Labels

Comments

@flowdee
Copy link
Contributor

flowdee commented Mar 18, 2018

bildschirmfoto_2018-03-18_um_17_10_51

Checked my EDD account page and here the sites show up correctly too

@amdrew amdrew added this to the 1.0.7 milestone Nov 4, 2018
@amdrew amdrew removed this from the 1.0.7 milestone May 21, 2019
@amdrew
Copy link
Contributor

amdrew commented May 21, 2019

There's probably a way to replicate this but I'm coming up short. In Themedd's theme-updater-admin.php file (pulled from Vendd's license updater), the Site is inactive message is shown from this conditional:

else if ( $license_data->license == 'site_inactive' )

According to the software licensing extension the license will be set to site_inactive based on this check:

elseif ( ! $license->is_site_active( $url ) ) {
	$status = 'site_inactive';
}

Perhaps the site in question had trouble connecting to the EDD site to verify the license and something got stuck. The license check is based on transients so clearing the transients on the site and reactivating the license should fix things.

@amdrew amdrew added the bug label May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants