Plugin: BuddyPress Media

Join this plugin group to follow comments, support topics and reviews.

Catchable Fatal Error (4 posts)

Started 4 months, 1 week ago by: SLFFVIISocial

  • Profile picture of SLFFVIISocial SLFFVIISocial said 4 months, 1 week ago:

    I am trying to use this plugin, and it installed perfectly, however when I upload an image it gives me this error:

    Catchable fatal error: Object of class WP_Error could not be converted to string in /home/slffviic/public_html/social/wp-content/plugins/bp-album/includes/bpa.screens.php on line 399

    Linee 399 of bpa.screens.php is:
    $pic_mid_path = str_replace( ‘//’, ‘/’, $pic_mid );

    I am using Buddypress 1.5, Wordpress 3.3.1 (Same issue when on 3.3.0) and Buddypress Album 0.1.8.11.

    Any idea on how to fix this issue?

  • Profile picture of foxly foxly said 4 months, 1 week ago:

    @SLFFVIISocial

    We’ve had no reports of that error happening on tens of thousands of other installations.

    What’s special about your server, your installation, and the file you uploaded? Are you running your server on Windows?

    ^F^

  • Profile picture of SLFFVIISocial SLFFVIISocial said 4 months, 1 week ago:

    There is nothing special with my server, its running on Linux.

    I am running a new installation and installed BP-Album though the plugin repository in my wp-admin panel.

  • Profile picture of foxly foxly said 4 months, 1 week ago:

    @SLFFVIISocial

    Trigger the error again, then go to your Apache error log and paste what was recorded.

    Then, change line 399 to:

    $pic_mid_path = @str_replace( ‘//’, ‘/’, $pic_mid );

    Trigger the error again and report what happens.

    ^F^