WPMUDEV plugin causing fatal memory error

I am getting this on the blackheath site Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 262142 bytes) in /var/www/vhosts/blackheathfencing.org.uk/httpdocs/wp/wp-includes/functions.php on line 364

and this on another site Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 308287 bytes) in /var/www/vhosts/londonregionfencing.org.uk/httpdocs/wp-includes/wp-db.php on line 1106

I have 57MB and 59MB free of 64Mb on these sites before trying to load this plugin! At moment it is refusing to load and I cannot update MarketPress. Hosting will not increase my memory limit but does it really need more than 10Mb to run?
Thanks

  • Andrew
    • Flash Drive

    Hi, The memory problem has arisen again. In trying to resolve an issue with a stats plug in (wp slimstat widget) which, when activated, was not displaying stats in the Dashboard, I deactivated WPMUDEV and the stats widget ran just fine. However I could not reactivate WPMUDEV even after deactivating Slimstat Widget. I got following:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 134998 bytes) in /var/www/vhosts/blackheathfencing.org.uk/httpdocs/wp/wp-includes/functions.php on line 364

    This is the error I got last time.

    My memory limit is 64MB 59MB used.

    This line refers to 'serialisation of data' and uses an array which appears to have gone overboard in size? Research led me here core.trac.wordpress.org/ticket/12930 and here core.trac.wordpress.org/ticket/23381

    This stuff is way over my head! However at the moment I am unable to install any updates to MarketPress apart from anything else. I will have to try and deactivate more plugins to get WPMUDEV to load.

  • Ash
    • WordPress Hacker

    Hello @Andrew

    I hope you are well today.

    In that case, you need to increase the memory. If you have more memory than 64 MB, please use the following line in wp-config.php:

    define( 'WP_MEMORY_LIMIT', '128M' );

    Otherwise, you need to ask your host to increase your memory.

    Hope it helps :slight_smile: Please feel free to ask more question if you have.

    Cheers
    Ash

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.