WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Access Manager
Fatal Error on Activate on Multisite (4 posts)

  1. jeffvand
    Member
    Posted 2 years ago #

    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/

  2. WP AAM
    Member
    Plugin Author

    Posted 2 years ago #

    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

  3. jeffvand
    Member
    Posted 2 years ago #

    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.

  4. WP AAM
    Member
    Plugin Author

    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic