Getting Fatal Errors When Trying To Install Plugins?

1 replies
  • WEB DESIGN
  • |
Hey guys

I am trying to install jetpack and other wordpress plug ins on an old site i have had for many years but all off a sudden i keep getting fatal error messages like the one below -

Fatal error: Out of memory (allocated 40370176) (tried to allocate 311296 bytes) in /home/footy/public_html/wp-content/plugins/google-analytics-dashboard-for-wp/tools/src/Google/Service/Analytics.php on line 1302

The file might change but it always contains this at the start but with different numbers it is trying to allocate

Fatal error: Out of memory (allocated 40370176) (tried to allocate 311296 bytes)


Anybody got any idea why this might be happening please.

All help appreciated

Bert
#errors #fatal #install #plugins
  • Profile picture of the author Tony Marriott
    Hi Bert,

    That is a PHP error.
    PHP is what WP is written in.

    It means PHP is using 40370176 bytes of memory and your plugin needs another 311296 bytes to instll but that is not available.

    usually due to your php.ini limiting the amount of ram that PHP can use at any one time.

    Note that limits can also be set in .htaccess and wp-config.php

    Here are the instructions to fix the problem

    https://premium.wpmudev.org/blog/inc...-tkbGo-lVlvw.0

    However if you have a shared hosting then may just be easier to open a support ticket with your host provider and ask them to increase your php memory limit to 96K

    cheers
    Tony
    {{ DiscussionBoard.errors[10859726].message }}

Trending Topics