WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. legend474
    Member
    Posted 7 months 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 4 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.