Things work when activating the plugin in a single site or in a site within multisite. But when network activating in a multisite or activating in the main site in a multisite, it directs to a 404 page.
This is because the network path is not available in the main multisite site.
What is the expected behavior?
Since options-general is not available, either do not redirect for first-path or redirect to the main site's URL.
🐞 bug report
Behavior:
What is the issue? (*)
When in multisite and you have this SDK setting:Things work when activating the plugin in a single site or in a site within multisite. But when network activating in a multisite or activating in the main site in a multisite, it directs to a 404 page.
This is because the network path is not available in the main multisite site.
What is the expected behavior?
Sinceoptions-general
is not available, either do not redirect forfirst-path
or redirect to the main site's URL.