WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: User Access Manager] Error when logged in as non admin (5 posts)

  1. C. Michael Mette
    Member
    Posted 4 years ago #

    Hi Alex,

    first of all thanks for the plugin. It works wonderful as long as I'm logged in as admin. As soon as someone else logs in with another role and tries to change a post or page he gets the following error message:

    Warning: Invalid argument supplied for foreach() in
    /www/htdocs/w00a3f87/intern/wp-includes/taxonomy.php on line 1953

    Warning: Cannot modify header information - headers already sent by
    (output started at
    /www/htdocs/w00a3f87/intern/wp-includes/taxonomy.php:1953) in
    /www/htdocs/w00a3f87/intern/wp-includes/pluggable.php on line 850

    Can you (or someone else) help me please?
    Greetings Michael

  2. depojn
    Member
    Posted 4 years ago #

    Hi Alex,

    I've the same problem. :-(
    This is new bug for latest version (0.9.1.2)
    I resolve this problem with it do downgrade plugin version to 0.9.1.1

    http://wordpress.org/extend/plugins/user-access-manager/download/

    Depo

  3. gabimazz
    Member
    Posted 4 years ago #

    Hi Alex,

    I already wrote to you on your web for the same problem as Michael (see below).

    depojn: I downgrade as you suggest but for me this doesn't solve the problem. I'm using WP 2.7.1. Do you have the same version?.

    Thanks to everybody.
    Gabi

    -------------0000--------- Previous message --------00000-----
    Dear Alex,

    I’m back again. I discover a problem. Till now I did my tests always using my ADMIN access. But last week I tried to create a page / post as author and I got the following messagge when I click on Publish button:

    —-0000—
    Warning: Invalid argument supplied for foreach() in /var/www/wp-includes/taxonomy.php on line 1953
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/wp-includes/taxonomy.php:1953) in /var/www/wp-includes/pluggable.php on line 850
    —000–

    I asked in the WordPress forum for an help and they suggestes to deactivate all the plugins. I did it and then I repeated the test by reactivating them one one. When UAM is active I get the message.

  4. Jonas Grumby
    Member
    Posted 4 years ago #

    Oddly enough, I just answered this question in a separate post...

    If you are using the User Access Manager (UAM) plugin and you want to let people other than Admins (i.e. Authors and Editors) post to the group, you have to do one of three things BEFORE the page or post is created.

    1) Assign the individual Author or Editor to the group

    2) Assign the Author and/or Editor role(s) to the group, which would allow all users with the assigned role(s) to post.

    or

    3) Change the "Write Access" to "all" instead of the default "only group users". This would allow all Authors and Editors to post within the group.

    Admins are granted group access by default, so you don't have to do any of the above to allow admins to post.

    If an Author or Editor tries to add a post to the group without doing one of the above first, that person will be able to create a draft but will not be able to publish it. They will get an error message when trying to publish. The draft will have to be deleted and re-created after doing one of the above.

    Enjoy!
    John Nasta

  5. gabimazz
    Member
    Posted 4 years ago #

    Dear All,

    thanks for your support. I did as you suggest but I still got the error. Then, while I was trying all the possible combinations, I added a category to the group. And magically it works! If I set a category to the group it works otherwise I get the error message.

    Hope this can help someone else.

    Greetings
    Gabi

Topic Closed

This topic has been closed to new replies.

About this Topic