Title: walkerclass.php error
Last modified: December 16, 2016

---

# walkerclass.php error

 *  Resolved [Ghily](https://wordpress.org/support/users/ghily/)
 * (@ghily)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/walkerclass-php-error/)
 * Just activated Client Dash on a new multisite network. NO errors after install
   and activation.
 * When I create a New Menu on a default User Role it appears fine.
 * However, when I create a New Menu on a custom User Role I get the following error:
 * Warning: Invalid argument supplied for foreach() in /home/filthyfifty/public_html/
   wp-content/plugins/client-dash/core/tabs/settings/menus/walkerclass.php on line
   74
 * Note: Custom User Role created by the plugin User Role Editor.
 * Line 74 does reference $role_options – I assume Client Dash has a conflict with
   the user options in User Role Editor or User Role Editor has a conflict sending
   it.
 * Note: The New User Role I created was a “copy” of the Administrator – just a 
   new name.
 * Is there a fix for this? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [joelworsham](https://wordpress.org/support/users/joelworsham/)
 * (@joelworsham)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/walkerclass-php-error/#post-8601340)
 * Hey there,
 * Sorry for this issue. I was unable to replicate it. I copied a new role with 
   User Role Editor (though selecting administrator as a role to copy was not available,
   so I chose editor).
 * I do, however, see how this issue could possibly pop up. It is non-breaking, 
   but any PHP warning is not ideal. I’ve created a patch to attempt to fix this
   issue.
 * Could you please install this new version of Client Dash and see if it solves
   your issue? If it does, I will make sure it is incorporated into the next release.
 * [http://d.pr/f/Rk0g](http://d.pr/f/Rk0g)
 *  Plugin Contributor [joelworsham](https://wordpress.org/support/users/joelworsham/)
 * (@joelworsham)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/walkerclass-php-error/#post-9157570)
 * Can I help you any more with this issue?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘walkerclass.php error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/client-dash.svg)
 * [Client Dash](https://wordpress.org/plugins/client-dash/)
 * [Support Threads](https://wordpress.org/support/plugin/client-dash/)
 * [Active Topics](https://wordpress.org/support/plugin/client-dash/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/client-dash/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/client-dash/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [joelworsham](https://wordpress.org/support/users/joelworsham/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/walkerclass-php-error/#post-9157570)
 * Status: resolved