Skip to content

Plugin not working on first install #10

@fabienlege

Description

@fabienlege
  1. Install the plugin for the first time (fresh wordpress install)
  2. Go to Settings > Restric taxonomies
  3. Just check a category under "Roles" section and save settings
  4. Datas was not saved and you get a warning in php error log :
    array_replace_recursive(): Argument #1 is not an array in /Users/arnaud/Sites/decideurs/wp-content/plugins/Restrict-Taxonomies-master/restrict-taxonomies.php on line 387

To bypass this problem, you need to click on "Reset config" and retry the procedure.
After a reset setting, plugin seem to work as expected.

Its seem that $options var contain empty string before user reset settings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions