• Resolved ruud

    (@rvandijkvs)


    We updated your plugin to the latest version 3.68.5.2 and the popup didn’t work anymore, the complete stylesheets etc. where not loaded.
    After debuging your code we found the problem inside com\helpers\AdminHelper.php.

    There are multiple problems inside the function makeRegisteredPluginsStaticPathsToDynamic with the combination of multisite:

    • SGPB_REGISTERED_PLUGINS_PATHS_MODIFIED is noted with qoutes but it is a variable.
    • 2 times update_option() is called instead of AdminHelper::updateOption()

    The problem for no 1 is that the if ($hasModifiedPaths) will never return true so the script will always run.
    The problem with no 2 is that you store the option inside wp_options instead of wp_sitemeta.

    With the 3 simple fixes the plugin should work again.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Multisite dynamic paths not generated’ is closed to new replies.