A big thanks to TechTracer for pointing me in the right direction for a frustrating WordPress error.

After upgrading to WordPress 2.3 (fairly painless, despite the major changes due to “tag” implementation) I couldn’t upload images. Any image over 100K would produce an error stating: Allowed memory size of 16388608 bytes exhausted (tried to allocate 6400 bytes). It also made reference to the includes\image.php file.

After reading the TechTracer post, I added one line of code just after the <? php tag in the image.php file:


The additional functions in WordPress (tags) and the plug-ins that I’m running must max out the memory. Now, I can upload my images and WordPress will resize and generate thumbnails just like it should (using the excellent Flexible Upload plug-in, that is).

WordPress 2.3 is right around the corner. Schedule for release on Sept. 24, it has several nice, new features. To get up to speed, I’d recommend reading 10 Things You Need to Know About WordPress 2.3. It’s the first article I’ve seen that sums up all the work and changes from 2.2 to 2.3 in an easy to understand format.

The most notable change is the support for “tagging” posts. Similar to Flickr and other sites, posts will not have categories and can also be tagged with more general relationships. This addition changes the structure of the WP database and could possibly break some of you favorite WP plug-ins.

I’ve installed Release Candidate 1 on another site and the only casualty was the excellent Extended Live Archive plug-in. I doubt the problem will be fixed, since the plug-in has seen little activity. Maybe someone will come along with something similar for 2.3.