Skip to:
Content
Pages
Categories
Search
Top
Bottom

Catchable Fatal Error

  • Avatar of SLFFVIISocial
    SLFFVIISocial
    Member

    @slffviisocial

    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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Avatar of foxly
    foxly
    Participant

    @foxly

    @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^

    Avatar of SLFFVIISocial
    SLFFVIISocial
    Member

    @slffviisocial

    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.

    Avatar of foxly
    foxly
    Participant

    @foxly

    @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^

    Avatar of k3m
    k3m
    Participant

    @k3m

    Hi Guys, have you managed to solve this issue? I have exactly the same problem.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.