Support » Plugin: Advanced Access Manager » [Plugin: Advanced Access Manager] Fatal Error on Activate on Multisite

  • We are looking for a good way to integrate AD auth with our wordpress multisite and this plugin looks PERFECT, but we can’t get it to work… We get a fatal error when we activate it. This is from the apache logs:

    [error] [client 152.23.168.67] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 35 bytes) in /home/html/web-dev.unc.edu/html/wp-includes/wp-db.php on line 1402,$
    [Wed Feb 08 18:33:18 2012] [error] [client 152.23.168.67] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2048 bytes) in /home/html/web-dev.unc.edu/html/wp-includes/meta.php on line 567,$
    [Wed Feb 08 18:33:18 2012] [error] [client 152.23.168.67] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 40 bytes) in /home/html/web-dev.unc.edu/html/wp-includes/meta.php on line 567, r$
    [Wed Feb 08 18:37:00 2012] [error] [client 152.23.168.67] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 32 bytes) in /home/html/web-dev.unc.edu/html/wp-includes/wp-db.php on line 1402,$
    [Wed Feb 08 18:39:43 2012] [error] [client 152.23.168.67] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 55 bytes) in /home/html/web-dev.unc.edu/html/wp-includes/meta.php on line 567, r$
    [Wed Feb 08 18:40:58 2012] [error] [client 152.23.168.67] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 55 bytes) in /home/html/web-dev.unc.edu/html/wp-includes/meta.php on line 567, r$
    [Wed Feb 08 18:40:59 2012] [error] [client 152.23.168.67] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 40 bytes) in /home/html/web-dev.unc.edu/html/wp-includes/meta.php on line 567, r$

    I’m guessing it is not a memory error issue.. but perhaps with over 2000 sites and 5000 users. What does it do when you activate the plugin? We tried activating it on just one site, and network activating it as well.

    Thanks for any thoughts you have on this. We’re going to try it on a local install to just test it out…

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Vasyl Martyniuk

    (@vasyl_m)

    Hi Jeff,
    It has activation hook which goes through all sites and save some internal data.
    You can deactivate it in mvb_wpaccess.php.
    This should help.

    Regards,
    Vasyl

    Thanks. For anyone else with this problem the code was around ln 458. Just removed the if/else part of that and was able to activate. Looking around now and working with this.

    Thanks Vasyl.

    Plugin Author Vasyl Martyniuk

    (@vasyl_m)

    Thanks for info Jeff. Actually I didn’t expect somebody with over 2000 sites. That is why I didn’t do any steps to optimize AAM for large amount of sites. Probably you are experiencing slow AAM interface.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Advanced Access Manager] Fatal Error on Activate on Multisite’ is closed to new replies.