Support » Plugin: User Access Manager » Incompatible with WordPress 4.7

  • Resolved kriskpooh

    (@kriskpooh)


    When I upgraded to 4.7, my site toasted. This plugin was the issue. When activated it generates the following:

    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes) in /home3/remax3g/public_html/e_tools/wp-includes/class-wp-query.php on line 3238

    Site comes back if plugin deactivated. Now, I have to have my site open until this is fixed or have it down. Please fix soon!

Viewing 15 replies - 1 through 15 (of 21 total)
  • Unfortunately the same error here.

    [06-Dec-2016 22:41:49 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /public_html/wp-includes/class-wp-hook.php on line 291
    [06-Dec-2016 22:42:40 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 1052672 bytes) in /public_html/wp-includes/class-wp-hook.php on line 283
    [06-Dec-2016 22:43:04 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 16384 bytes) in /public_html/wp-includes/wp-db.php on line 1841
    [06-Dec-2016 22:43:21 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 12288 bytes) in /public_html/wp-content/plugins/user-access-manager/class/UserAccessManager.class.php on line 1473

    Wordpress pushed out the 4.7 update, 2.5 hours ago… Immediately after it went in, my site went down.

    [07-Dec-2016 00:04:12 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 130968 bytes) in /public_html/wp-includes/class-wp-query.php on line 3238

    And numerous others. If you need the full error log, please let me know and I’ll send it to you.

    Having the same issue here with a handful of sites:

    Fatal Error (E_ERROR): Allowed memory size of 268435456 bytes exhausted (tried to allocate 8208 bytes)

    I have the same issue.

    Erich

    (@erichboileau)

    Same here. Disabling the plugin restored the site. Would love to turn it back on when it’s fixed! 🙂

    Me to having issues. Site not loading fully. Needed to deactivate plugin.

    Same for me.
    PHP message: PHP Fatal error: Allowed memory size of 104857600 bytes exhausted (tried to allocate 40 bytes) in /var/www/html/wp-includes/class-wp-query.php on line 626

    i have the same issue “Fatal error: Allowed memory size exhausted” (class-wp-query.php)

    • This reply was modified 6 years, 5 months ago by toad75.
    Bob

    (@bobschecter)

    Ooops. That’s a huge problem. Without UAM turned on, the site is virtually an open book. Ouch!

    Ooops indeed :S
    For a site I’m maintaining it seems to be line 1755 in class/UserAccessManager.class.php that causes the issue. There might be other causes as well, haven’t had time to check all out yet.
    $aTermPosts = get_posts($aArgs);

    One could comment out line ~338 in user-access-manager.php

    
    ...
    // add_filter('get_terms', array($oUserAccessManager, 'showTerms'), 10, 2);
    ...
    
    Plugin Author GM_Alex

    (@gm_alex)

    Should be fixed with 1.2.7.2. Could you please test it and give me feedback?

    Fixed. Thank you.

    Thanks @gm_alex ! v1.2.7.2 fixed “memory” error on my end

    Fixed. Thank you!

    Memory limit errors fixed. Thanks a lot!

    But another (minor) problem occurs all categories are hidden (meta boxes are still there) from the admin area (even as superadmin) and front-end. UAM is the only active plugin.

    Deactivation of the plugin brings all categories back.

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Incompatible with WordPress 4.7’ is closed to new replies.