Support » Plugin: User Access Manager » update compatibility?

  • Resolved steveredshaw

    (@steveredshaw)


    I was using this plug-in with WP3.5, however when I updated to 3.5.1 my site crashed with a fatal error. The error message mentioned User Access Manager (I can’t quote it now as my hosting providers have fixed it).

    I shan’t be activating UAM again, which is a shame because it did just what I wanted, created user-grops from my registered users and granted them rights to view designated pages. I haven’t found anything else that does that.

    So please, is UAM going to be updated so it iscompatible with WP3.5.1?

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Can you check if your hosting provider is running PHP 5.4? There is a known issue with UAM running on PHP 5.4:

    Fatal error: Call-time pass-by-reference has been removed in .....wp-content/plugins/user-access-manager/class/UamUserGroup.class.php on line 646

    Is this what you are seeing?

    PHP on my host, which is iPage, is 5.3.13
    the error message I got (I realised I cou;ld retrieve it from my support ticket) was;

    Fatal error: Call to undefined function get_userdata() in /hermes/bosoraweb013/b129/ipg.steveredshawcouk/activeo/wp-content/plugins/user-access-manager/class/UserAccessManager.class.php on line 1881

    hope this helps…

    See this thread: http://wordpress.org/support/topic/serious-bug-and-a-fix?replies=1

    I can’t vouch for the fix but it looks like ranwaldo has it working.

    It’s such a shame that support for UAM seems to be non-existent at the moment.

    thanks so much – dare I risk trying this out!

    is there a plug-in author out there watching? we need you…

    I have just heard back from my Hosting support

    The function get_userdata() is not defined in your script. So you were experiencing the issue. It looks like issue is with ‘user-access-manager’.

    so presumably ranwaldo’s extra line fixes that? I am still nervous about trying this

    It was fixed by adding the following code at front of ‘UserAccessManager.class.php’ (outside of any function).

    if (!function_exists(‘get_userdata’)) {
    include_once ABSPATH.’wp-includes/pluggable.php’;
    }

    in case my site goes down again!

    This fix worked perfectly on WordPress 3.5.1!

    +1, worked with 3.5.1

    thanks, I am reassured and can use the plug-in again

    I am getting below error while do anything with UAM plugin…. any idea???

    WordPress database error: [Duplicate entry ‘4644-post-3’ for key 1]
    INSERT INTO wp_uam_accessgroup_to_object ( group_id, object_id, object_type ) VALUES ( ‘3’, ‘4644’, ‘post’ )

    WordPress database error: [Duplicate entry ‘4645-post-3’ for key 1]
    INSERT INTO wp_uam_accessgroup_to_object ( group_id, object_id, object_type ) VALUES ( ‘3’, ‘4645’, ‘post’ )

    WordPress database error: [Duplicate entry ‘4646-post-3’ for key 1]
    INSERT INTO wp_uam_accessgroup_to_object ( group_id, object_id, object_type ) VALUES ( ‘3’, ‘4646’, ‘post’ )

    WordPress database error: [Duplicate entry ‘4647-post-3’ for key 1]
    INSERT INTO wp_uam_accessgroup_to_object ( group_id, object_id, object_type ) VALUES ( ‘3’, ‘4647’, ‘post’ )

    WordPress database error: [Duplicate entry ‘4648-post-3’ for key 1]
    INSERT INTO wp_uam_accessgroup_to_object ( group_id, object_id, object_type ) VALUES ( ‘3’, ‘4648’, ‘post’ )

    WordPress database error: [Duplicate entry ‘4650-post-3’ for key 1]
    INSERT INTO wp_uam_accessgroup_to_object ( group_id, object_id, object_type ) VALUES ( ‘3’, ‘4650’, ‘post’ )

    WordPress database error: [Duplicate entry ‘4651-post-3’ for key 1]
    INSERT INTO wp_uam_accessgroup_to_object ( group_id, object_id, object_type ) VALUES ( ‘3’, ‘4651’, ‘post’ )

    Yes Problem is resolved on our website http://www.workwithlic.com, Thank a lot to the Author, I would Definitely like give support amount for this great plugin.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘update compatibility?’ is closed to new replies.