WordPress.org

Ready to get started?Download WordPress

Forums

Fatal Error: Allowed memory size...exhausted. Increase memory limit fix tried. (4 posts)

  1. Dhoozy
    Member
    Posted 1 year ago #

    Hi WordPress Forums

    I know this is a common error, but I have followed all the suggested fixes and nothing has worked.

    When we go directly to the URL this is the error we receive:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /var/www/vhosts/berwicksc.vic.edu.au/subdomains/staging/httpdocs/wp-content/plugins/google-calendar-events/widget/gce-widget.php on line 173

    When we go to the admin dashboard this is the error what we receive:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /var/www/vhosts/berwicksc.vic.edu.au/subdomains/staging/httpdocs/wp-content/themes/Classy/admin/theme-admin.php on line 1026

    Is there anything else I could/should do other than the increase memory increase the memory limit fix (e.g. define('WP_MEMORY_LIMIT', '64M');) ??

    Thanks in advance and sorry if this has been very clearly addressed elsewhere.

  2. Ask the administrators of berwicksc.vic.edu.au to increase your memory allocation.

  3. Rachel Baker
    Member
    Posted 1 year ago #

    If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 64M:

    memory_limit = 64M ;

    If you don't have access to PHP.ini try adding this to an .htaccess file:

    php_value memory_limit 64M

    Or contact your web hosting company

  4. Fernando Quirino
    Member
    Posted 1 year ago #

    When I put "php_value memory_limit 64M" at the .htaccess I get a Internal Server Error. At the log is written

    Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration

    I've just installed Cpanel at this server. Is there anything I have to configure to make this wordpress tweak work?

Topic Closed

This topic has been closed to new replies.

About this Topic