How do I remove a default image for listings with no image (getting fatal error)

This topic contains 7 replies, has 3 voices, and was last updated by  Stiofan O’Connor 9 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #17138

    Peter Davenport
    Free User
    Post count: 22

    On the Design -> Listings page in the GD settings, I uploaded an image to serve as the default image when no image is added for a listing.

    Now I’m getting a fatal error when viewing the listing http://dev.prometheusfire.me/glorybody-development/places/canada/british-columbia/vancouver/vancouver-test/

    Catchable fatal error: Object of class WP_Error could not be converted to string in /home/teatrade/public_html/dev.prometheusfire.me/glorybody-development/wp-includes/formatting.php on line 703

    I can’t go through a typical trouble shooting process because there is no built-in way to remove the default image. Clicking the button only allows me to replace it. Moreover, it isn’t even saved in the Media Library (it doesn’t show up there – isn’t this a bad practice? Shouldn’t this button be using the WP Media Library?)

    I even went so far as to delete the image from the file directory, but now I just get a broken image on the page above since the URL is still assigned in the database. Where in the DB do I need to look to remove this? (I really should have to be doing database edits for something like this – can you improve this process).

    None of this issue changes the fact that I’m getting that fatal error. This is all just to remove the image so that I can verify that the listing displays correctly without a default image assigned.

    #17139

    Simone
    Expired Member
    Post count: 3515

    Hello, this error is happening to another user too, please follow this one so we won’t have a duplicate, thanks.

    S.

    #17282

    Peter Davenport
    Free User
    Post count: 22
    This reply has been marked as private.
    #17285

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks, can u pass me FTP i can’t seem to edit the files through wp-admin

    Stiofan

    #17290

    Peter Davenport
    Free User
    Post count: 22
    This reply has been marked as private.
    #17291

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    That FTP info does not seem to be for the right site, i see no GD plugins installed.

    Stiofan

    #17295

    Peter Davenport
    Free User
    Post count: 22
    This reply has been marked as private.
    #17304

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    OK thanks, this seems to be a problem if the original category of the post has been deleted. I will add a fix for this in the next versoin.

    Thanks,

    Stiofan

Viewing 8 posts - 1 through 8 (of 8 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket