Forums

cannot change themes (3 posts)

  1. jackfussell
    Member
    Posted 2 years ago #

    I just upgraded to 2.9.2 and I keep getting this error at various places. For example when I go to switch themes it says

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 8192 bytes) in /home/travelj5/public_html/wp-includes/functions.php on line 3601

    Any ideas?

    Jack
    http://www.travelingtribe.net

  2. riversatile
    Member
    Posted 2 years ago #

    Hi Jackfussell,

    See if you have this at line #3601 :

    $file_data = fread( $fp, 8192 );

    If not, try to increase the numeric value

  3. Shane G.
    Member
    Posted 2 years ago #

    Hi,

    Check with these options:

    1) Either rename/remove Plugins folder via FTP or disables all the Plugins from database.

    2. If you have an access of PHP.ini file of the account/server then change the line in PHP.ini where line shows 32M to 64M:
    memory_limit = 64M; Maximum amount of memory a script may consume (64MB)

    3. If you do not have access of PHP.ini file then add this to an .htaccess file of your domain:
    php_value memory_limit 64M
    4. Try to add this line to your wp-config.php file to increase allocated memory to PHP:
    define(‘WP_MEMORY_LIMIT’, ‘64M’);

    If all this option can not resolve the issue then you need to contact your hosting service provider to resolve this issue.

    Thanks,

    Shane G.

Topic Closed

This topic has been closed to new replies.

About this Topic