• Resolved dannedude

    (@dannedude)


    Hey!

    I installed the plugin (Simple Lightbox) and when it said it was done installing and the “activate plugin” link displayed, I clicked it. Then this error message appeared:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 569 bytes) in /storage/content/66/117066/morella.scottdaniels.se/public_html/wp-admin/includes/update.php on line 385

    Link to screenshot that shows the error message: https://sv.tinypic.com/r/29dehqc/8

    And after that I can’t view ANY page in the admin panel, since it displays the same error message (on a blank/white screen) with only the “…on line 385” changing numbers between different pages.

    One thought I have is that I clicked the “activate plugin” link to soon, as sometimes below that link wordpress starts trying to install/update language settings for the plugin – and perhaps I interrupted that process because I was to quick to click the active link.

    So how can I solve this? Thanks in advance!

    -Daniel

    https://www.ads-software.com/plugins/simple-lightbox/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Archetyped

    (@archetyped)

    Hi,

    It looks like the memory allocated to PHP has reached its limit. You will need to allocate more memory to install additional plugins. See WordPress’ official documentation on increasing memory allocated to PHP for more information.

    Thread Starter dannedude

    (@dannedude)

    Hi,

    Where should I put this code that they suggest I use to increase the limit?

    Thanks for the reply,
    D

    Plugin Author Archetyped

    (@archetyped)

    Hi,

    The page I linked to is WordPress’ official documentation for wp-config.php.

    Thread Starter dannedude

    (@dannedude)

    Oh OK, I put this code in the bottom of the wp-config.php:

    /* Increasing memory allocated to PHP */
    define( ‘WP_MEMORY_LIMIT’, ’64M’ );

    Is that correct? If so, it doesn’t work. Should I then contact my host as suggested by wordpress?

    Thanks again,
    D

    Thread Starter dannedude

    (@dannedude)

    I know what the trouble was now.

    For others reference, if helpful:
    It was that my host has a limit on the memory, so I had to 1. upgrade with the host, or 2. get rid of plugins etc. that could be causing it because of big file size.

    Plugin Author Archetyped

    (@archetyped)

    I would recommend increasing memory to 96M or more to avoid slowing down your site. If your web host does not allow this, then you may need to upgrade or change hosts.

    Also, make sure to read the documentation carefully regarding where to add the code. Adding it directly to the bottom of the file may not have the desired effect because it will take effect after WordPress has already loaded (which is where the issues with limited memory occur).

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error message (when viewing any page in admin panel) after installing plugin’ is closed to new replies.