• Hi there.

    Just installed Groups and WooCommerce groups on a Multisite install.

    The groups plugin activated fine on the top level site, but when I try to activate it on a subsite, I get the following error.

    Plugin could not be activated because it triggered a fatal error.
    Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 71 bytes) /public_html/wp-includes/wp-db.php on line 948

    Saw similar comments about very large queries – could this be related?

    Thanks in advance for your help!
    Jennifer

    https://ww.wp.xz.cn/plugins/groups/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author itthinx

    (@itthinx)

    Hi Jennifer,

    How much memory your setup needs depends on the total consumption of all plugins involved, including Groups. You can try to increase the maximum memory and if you could also enable debugging and post the contents of your wp-content/debug.log that could be helpful.

    Cheers

    Thread Starter Dan & Jennifer

    (@danstuff)

    Hi there.

    So I’ve been doing some more testing and was able to network activate the plugin, and activate it on single sub-sites, on a much smaller multisite on the same server.

    Here are the specs for this server: 3GB guaranteed RAM, PHP memory memory_limit = 512M and max_execution_time = 1800.

    The multisite activation that was successful only has 6 sub-sites and about 100 users.

    The multisite activation that fails (both for network and sub-site activations) has 2600 sub-sites and just under 3000 users.

    Has anyone ever installed this plugin on a multisite with that number of sites and users?

    *******************************************************************************************************
    I’ve turned on these debug options in our dev environment, but I’m not seeing debug errors dealing with Groups or the activation…

    Here are our debug settings – is there something I”m missing? 🙂

    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_LOG’, true);
    define(‘WP_DEBUG_DISPLAY’, false);
    *******************************************************************************************************
    As an additional test, I disabled ALL other plugins on the large multisite to eliminate that possibility… Still no luck…

    Thanks in advance for your help!
    Jennifer

    Thread Starter Dan & Jennifer

    (@danstuff)

    Hi there.

    I’m just following up on this… Next steps?

    Thanks,
    Jennifer

    Plugin Author itthinx

    (@itthinx)

    Hi Jennifer,

    Thanks for providing the details – one thing that doesn’t seem right: you’re saying the PHP memory limit is at 512MB but the error message you got says

    Allowed memory size of 268435456 bytes exhausted

    … which means that it actually has a limit of 256MB. You can try to fix that first, odd that you don’t get any errors in the log though.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Groups Plugin Activation Fatal Error – Multisite’ is closed to new replies.