outervisuals / buddypress-media

Automatically exported from code.google.com/p/buddypress-media
0 stars 0 forks source link

Catchable Fatal Error "wp_error" On Sites Missing GD Library #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
*** YOU MUST ANSWER ALL QUESTIONS. IF A QUESTION IS NOT RELEVANT YOU MUST
WRITE "NOT APPLICABLE" IN THE QUESTION FIELD. ***

[What steps will reproduce the problem? (We need detailed, specific steps.
If we cannot reproduce the defect on a dev machine, we cannot fix it.)]
1. Installed BP Album
2. Selected upload picture, selected image and selected upload
3. Error page on upload 

[What is the expected output? What do you see instead?]
Catchable fatal error: Object of class WP_Error could not be converted to 
string ... /wp-content/plugins/bp-album/includes/bp-album-screens.php on line 
327

[What version of BP Media are you using?]
Version 0.1.8 

[What version of WordPress are you using?]
3.0.1

[What version of BuddyPress are you using?]
Version 1.2.5.2

[What version of PHP are you using?]
5.2.12

[If the problem is layout related (broken page layout, etc) or browser
related (page just freezes, cannot connect to server) ...what happens when
you load the page in AT LEAST TWO of the following browsers:]
1.FireFox - (Report version number)
2.Internet Explorer - (Report version number)
3.Safari - (Report version number)
4.Google Chrome - (Report version number)

n/a

[What is the URL of your web host?]
localhost (test local server) 

[If you are running a public site, what is the URL to a page that shows the
problem?]
n/a

[Do you know how to use phpMyAdmin?]
yes

[Do you know how to edit PHP code?]
yes

[Please provide any additional information below]
I checked and the image does upload to the uploads/album/userid/ folder. 
However, it does not  enter it into the database because when I go back to the 
user profile page, the photos do not show up.

Original issue reported on code.google.com by rosemary...@gmail.com on 16 Oct 2010 at 9:32

GoogleCodeExporter commented 9 years ago
Ugh, nevermind. I believe I just realized the problem. I do not have GD 
installed on my local server.  Sorry about that. I'll install and if the 
problem continues I'll post another comment.  

Original comment by rosemary...@gmail.com on 16 Oct 2010 at 9:34

GoogleCodeExporter commented 9 years ago
Even though the error was caused by a problem with your server, you STILL found 
a defect in the plugin (we never considered that a user might not have GD 
installed)!

We have added an error trap for the situation you reported. Thanks for the bug 
report!

^C^

Original comment by CarlRoett@gmail.com on 23 Oct 2010 at 6:25

GoogleCodeExporter commented 9 years ago
Glad to be of help. By the way - installing GD on the server did fix the 
problem.  

Original comment by rosemary...@gmail.com on 23 Oct 2010 at 10:51