You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In certain circumstances it is possible to produce:
Notice: Undefined index: master_site_setting in /wp-content/plugins/multisite-post-duplicator/addons/restrictSites-mpd-addon.php on line 325
This can be resolved in this case by testing if the option is set:
For anyone stumbling upon this page as I did here's how to fix it without code changes.
This setting is available on the network level and by default is not set.
Go to the plugin settings
Set Restrict MPD to certain sites to Select a Master Site
This will show the Select a Master Site dropdown, choose your master site, and save.
After this, the option is set and exists preventing the error. You can now change back the "Restrict MPD" setting to what you want.
IMHO, this should be resolved in the plugin by either requiring this setting to be configured regardless of the restrict setting or code should check if it is set and perform the expected behavior when set.
In certain circumstances it is possible to produce:
Notice: Undefined index: master_site_setting in /wp-content/plugins/multisite-post-duplicator/addons/restrictSites-mpd-addon.php on line 325
This can be resolved in this case by testing if the option is set:
though a better solution is to ensure default options are always available plugin-wide
The text was updated successfully, but these errors were encountered: