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

error 502 or new cloned site or existing sites #95

Open
LandiLuca opened this issue Sep 19, 2021 · 0 comments
Open

error 502 or new cloned site or existing sites #95

LandiLuca opened this issue Sep 19, 2021 · 0 comments

Comments

@LandiLuca
Copy link

I've installed the plugin and duplicate a 'simple site' and it seems to works.
But when I try to login in admin on the new site (or existing sites, no on network admin) I've 502 error!
I've deactiveted all plugins, but it's your plugin that cause the 502 error.
I've put this code
if (!is_main_site(get_current_blog_id())){ return; }
in multisite-clone-duplicator.php on line 20, and now the error disappears and I can login in admin area of each site!
Is this fix ok?

I've cloned a new site, after this fix, and it seems to be ok!
Let me know if it's a right fix.

(The wordpres MU is in docker with nginx)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant