Capability Manager Enhanced
[resolved] upgrade errors (3 posts)

  1. pescadito01
    Posted 3 years ago #


    i had a multisite wp with 'capability manager 1.3.2' enabled that was running well, but after upgrading wp to 3.5.1 i get some errors with differents plugins

    - activating 'capability manager 1.3.2' report me
    . Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in /home/inmoxpre/public_html/wp-content/plugins/capsman/includes/manager.php on line 470
    . Warning: asort() expects parameter 1 to be array, boolean given in /home/inmoxpre/public_html/wp-content/plugins/capsman/includes/manager.php on line 477
    . Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/inmoxpre/public_html/wp-content/plugins/capsman/includes/manager.php:470) in /home/inmoxpre/public_html/wp-content/plugins/easy-nivo-slider/easy-nivo-slider.php on line 112

    - activating 'capability manager enhancer 1.4.10' report me
    . Warning: Invalid argument supplied for foreach() in /home/inmoxpre/public_html/wp-content/plugins/capability-manager-enhanced/includes/manager.php on line 215
    . Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/inmoxpre/public_html/wp-admin/includes/class-wp-users-list-table.php on line 196

    please could anybody suggest how to resolve??

    best regards, pescadito


  2. Kevin Behrens
    Plugin Author

    Posted 2 years ago #

    Warning: Invalid argument supplied for foreach() in /home/inmoxpre/public_html/wp-content/plugins/capability-manager-enhanced/includes/manager.php on line 215

    That error (and the subsequent wp-users-list-table error) indicates that an invalid roles array has been passed into the 'editable_roles' filter, which CME handles. Confirm that you don't have any other code which is implementing that filter incorrectly. If not, your stored roles array may have been deleted or corrupted. If so, you can use the Tools menu to restore a backed up copy (if applicable) or revert to default WP role definitions.

    The other errors you quoted do not pertain to the current CME version.

  3. pescadito01
    Posted 2 years ago #

    thank kevin for your reponse!
    finally i could resolve that problem!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Capability Manager Enhanced
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.