Support » Plugin: Menubar Color Changer » [Plugin: Menubar Color Changer] Array error for user with editor role?

  • Resolved ArjanT

    (@arjant)


    Hi Ole-Kenneth, I have added a user with editor role but when he logs in, we see error messages, although posting etc is possible, but the dashboard looks messed up. Later I tried with author role, but same problem. I think it refers to the buttons restricted to administrators, since they do not show up, and instead show error messages (like plugin,etc).

    To be sure it is this plugin that is causing this behaviour I deactivated it, but with same result; then I deinstalled it and after that the errors disappeared, clean dashboard again. Reinstalled plugin and messed up dashboard. Hopefully you can help. Thanks in advance!

    Arjan

    Error message:

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/windroos/public_html/wp-content/plugins/menubar-color-changer/menubar-color-changer.php on line 111

    Warning: Invalid argument supplied for foreach() in /home/windroos/public_html/wp-admin/includes/plugin.php on line 1409

    Warning: Invalid argument supplied for foreach() in /home/windroos/public_html/wp-admin/includes/plugin.

    and a few more lines

    http://wordpress.org/extend/plugins/menubar-color-changer/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ole-Kenneth

    (@olekenneth)

    Ok, if you update the plugin now I have muted the error. Thanks for the heads up! 🙂

    The error only occurred when the plugin tried to create the link to customizer.

    Hi Ole-Kenneth, thank you for your quick reply. Of course I tested it rightaway, but still having problems. The first error has gone, but ir now starts with previously the second one:
    Warning: Invalid argument supplied for foreach() in /home/windroos/public_html/wp-admin/includes/plugin.php on line 1409

    I can mail you a screenshot if you wish…

    I first did an update to 1.0.2, however no succes, I deinstalled and reinstalled completely, however also without result. Also created a new user, no result. Also tested with IE and Chrome, no difference.

    Sorry could not give you better new. Thanks for your help!

    Hi Ole-Kenneth,
    Did you have a chance to look at this issue? Thx, Arjan.

    Plugin Author Ole-Kenneth

    (@olekenneth)

    Hi. Sorry for late response.

    It seems like you have turned debug on. But thats okay. The newest version fixes the problem.

    Hi Ole-Kenneth,
    Yep! Great, the plugin was updated and now we do not see error messages anymore, thanks a lot for your help! Rgds, Arjan.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Menubar Color Changer] Array error for user with editor role?’ is closed to new replies.