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

Plugin not working on first install #10

Open
fabienlege opened this issue Feb 5, 2018 · 0 comments
Open

Plugin not working on first install #10

fabienlege opened this issue Feb 5, 2018 · 0 comments

Comments

@fabienlege
Copy link

  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

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