• Resolved mars29dr

    (@mars29dr)


    Hello
    I strongly appreciate this plug-in: so I can assign roles to each person of our chorus and give them specific accesses to some parts of the blog. But there is a problem: when I register the user with his roles, I have plenty of error messages. The enrollment is done nevertheless,; but I am obliges to de-activate the plugin as soon as the users are registered; this does not affect the functioning of the blog but is=t is not good. What can I do ? Regards

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • If you’re getting error messages, you should post the messages. If there’s an issue with Members, I’ll make sure to get a fix in the next update.

    Thread Starter mars29dr

    (@mars29dr)

    The error messages below. Sorry: it would be to have a attached file
    Thank you stongly for your help because tour plugin is fantastic if it properly runs
    I am in 4.9.8 WordPress – Theme SamplePress of Elegant Themes – Blog: https://choeurpolycantus.fr
    =================================================================================
    Error messages
    1st set en messages
    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #2 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #2 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #2 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    2nd set of messages
    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #2 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #1 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #2 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #1 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #2 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #1 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    3rd set of messages

    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #2 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #1 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php:51) in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-includes/pluggable.php on line 1219

    4th set of messages

    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #2 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #1 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #1 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #2 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #1 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #1 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #2 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #1 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_keys() expects parameter 1 to be array, null given in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Warning: array_merge(): Argument #1 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51

    Thread Starter mars29dr

    (@mars29dr)

    Hello Justin
    I did not receive any feedback for my message above I posted two weeks and four days ago.
    Did you examine the topic ? I read the mail of another guy who speaks about an problem with the Simple Press theme
    I sent the errors messages to you
    What can you do ? The messages indicates errors in a file of your plugin that is “functions-users.php” on line 51
    Warning: array_merge(): Argument #1 is not an array in /homepages/6/d737435129/htdocs/clickandbuilds/Polycantus/wp-content/plugins/members/inc/functions-users.php on line 51
    Thank you for your help because your plugin is great for its utility
    Denis

    PS: my blog: https://choeurpolycantus.fr (blog of a french chorus)

    Sorry, I missed your reply. I’ll take a bigger look at it tomorrow. Based on a quick reading of the notices, my best quick guess is that you have a plugin or theme altering something incorrectly on the user_has_cap filter hook, which is causing an error when Members doesn’t get the data that it expects.

    The best way to test this is to run one of the Twenty* themes with all other plugins deactivated to see if the problem persists. If the notices go away, it’s just a matter of narrowing down which is causing the issue.

    Thread Starter mars29dr

    (@mars29dr)

    In any case, I activate the plugin to add new roles and/or to assign new roles to the users. I get plenty of warning/error messages when I save the changes for the users, but the roles are correctly created and assigned to the users. Afterwards, I deactivate the plugin, because it is no longer useful. Roles are stored in the database and the new created roles are taken into account by the database in the same ways as the basic roles of wordpress (editor, author….); the menus which are not permitted are not displayed: everything perfectly works.
    My theme is SamplePress, a pro-theme that is designed by Elegant Themes, that you can contact.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem with use of Members lugin’ is closed to new replies.