WordPress.org

Forums

Members
After making custom roles, you can no longer edit them. (2 posts)

  1. legend474
    Member
    Posted 2 years ago #

    When I made the roles they were fine.

    Now if I go back to the roles and try to edit them I get this at the top:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'GFRemove' does not have a method 'members_get_capabilities' in D:\XAMPP\htdocs\wp-includes\plugin.php on line 199
    
    Warning: sort() expects parameter 1 to be array, null given in D:\XAMPP\htdocs\wp-content\plugins\members\includes\capabilities.php on line 42
    
    Warning: array_unique() expects parameter 1 to be array, null given in D:\XAMPP\htdocs\wp-content\plugins\members\includes\capabilities.php on line 45

    And this next to Capabilities:

    Warning: Invalid argument supplied for foreach() in D:\XAMPP\htdocs\wp-content\plugins\members\admin\role-edit.php on line 98

    Any idea why this is happening?

    https://wordpress.org/plugins/members/

  2. Matt Zak
    Member
    Posted 2 years ago #

    I was getting the same error. In my case it was an issue with Gravity Forms Remove Entries https://wordpress.org/plugins/gravity-forms-remove-entries/

    Deactivating that plugin solved the issue for me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Members
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.