Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bp-photo what a GREAT plugin!

The error I’m getting is:

Catchable fatal error: Object of class WP_Error could not be converted to string in /Users/davelewis/Sites/wpmu/wp-content/plugins/bp-album.php on line 324

I’ve noticed that I only get this error when attempting to upload small images. When I try to upload a big image, the browser just spins and nothing happens. If you look at the plugin code around line 324… it’s looking at the size of the uploaded file and then using one of two functions to generate thumbnails via the WordPress function wp_create_thumbnail().

So it must have to do with my environment or WordPress MU setup. I’m using the built-in PHP in Leopard which (annoyingly) doesn’t come with the GD Library. So perhaps that is the issue. Safe to assume that wp_create_thumbnail() utilizes the GD Library. I’ve tried installing the entropy distribution of PHP5 before and it’s been a huge pain to get it working. So for development purposes (on my local machine)… I just use the Leopard PHP build.

Skip to toolbar