Support » Plugin: WP Custom Admin Bar » [Plugin: WP Custom Admin Bar] error message

  • Resolved gopanthers


    I love what this plugin should do but for me it gives error messages where the Admin Bar was. I unchecked the Admin Bar display for all roles except Admin and Editors, so regular Subscribers shouldn’t see anything. It kinda worked in that the Admin Bar didn’t appear for Subscribers but instead, the following error message was displayed at the very top of the page.

    Warning: in_array() []: Wrong datatype for second argument in /home/xxxxxx/xxxxxx/wp-content/plugins/wp-custom-admin-bar/custom-admin-bar-functions.php on line 89

    I’ve disabled this plugin for now instead of deleting it because I’d still love to use this plugin once the bug gets fixed. Can’t find another similar plugin that lets you choose viability by roles.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Wes Todd


    Try updating to version 1.1, I added a line that should help with your problem. I was unable to replicate the error so hopefully that will fix it. If not let me know and I will get it figured out. Thanks for the bug report!

    Yes, it is all fixed now. Thanks. Great plug-in.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP Custom Admin Bar] error message’ is closed to new replies.