(1)ayah logo

Wordpress 2.8: Lost Visual Editor and Allowed memory size of 33554432 bytes exhausted Error

I updgraded to Wordpress 2.8 today and encountered a memory error as well as the loss of the visual editor toolbar.

Memory Error

When going to the dashboard or reactivating a plugin (in my case, Viper’s Video Quicktags), I saw this error when trying to reactivate my plugins:

Allowed memory size of 33554432 bytes exhausted

What worked for me was a solution I found at HighTechDad. You’ll need to check the wp-settings.php file on your server. At the very top of the file you should see:

[code]

if ( !defined('WP_MEMORY_LIMIT') )
define('WP_MEMORY_LIMIT', '64M');
if ( function_exists('memory_get_usage') && ( (int) @ini_get('memory_limit') < abs(intval(WP_MEMORY_LIMIT)) ) )
@ini_set('memory_limit', WP_MEMORY_LIMIT);

if ( !defined('WP_MEMORY_LIMIT') )

define('WP_MEMORY_LIMIT', '32M');

if ( function_exists('memory_get_usage') && ( (int) @ini_get('memory_limit') < abs(intval(WP_MEMORY_LIMIT)) ) )

@ini_set('memory_limit', WP_MEMORY_LIMIT);

[/code]

Just change the 32M to 64M and that should fix everything.

Visual Editor

This one was a bit trickier.

Wordpress support tried offering a couple of different solutions.

I tried a re-upgrade (from the Tools menu in WordPress) but that did not work. I opened my admin panel in IE and the bar was displaying fine. So i cleared my cache in Google Chrome, and the bar came back.

*Update – It seems you need to do the combination move of reinstalling the upgrade and clearing your cache to get this error fixed.

All in all, it was a smooth upgrade with a couple of small hiccups, hope you found these tips useful.

Bookmark and Share

Category: Wordpress

Tagged: , , , , ,

Leave a Reply

TwitterCounter

    follow me on Twitter