WordPress.org

Ready to get started?Download WordPress

Forums

fatal error concerning memory allocation (2 posts)

  1. rukky
    Member
    Posted 2 years ago #

    i'm trying to set a site up... http://www.pediaboy.com , i just used the text widget to add some icons to the side and geuss what i saw?

    "Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in pediaboy/public_html/wp-admin/includes/user.php on line 121"

    now, i cant even load my admin page, the only thing that comes out is this error message. please what should i do please?

  2. Samuel B
    moderator
    Posted 2 years ago #

    1. Try adding this line to your wp-config.php file:
    Increasing memory allocated to PHP
    define('WP_MEMORY_LIMIT', '128M');
    
    2. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 128M:
    memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
    
     3. If you don't have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 128M
    
     Talk to your host.

Topic Closed

This topic has been closed to new replies.

About this Topic