Support » Plugin: BePro Listings » Fatal Error when user adds image to listing

  • Resolved ekihc

    (@cokwara)


    I use the plugin on my Buddypress website. And its setup to allow users submit listings. Everything seems to work great except the following:

    User gets the following Fatal error message when they submit a listing that contains an image to their listing: Fatal error: Call to undefined function wp_generate_attachment_metadata().

    Not sure why. Can anyone help with this?

    FYI: I run the latest WP and Buddypress on my website.

    http://wordpress.org/extend/plugins/bepro-listings/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author BeyondPrograms

    (@beyondprograms)

    Hi,

    What version of the plugin are you using?

    BePro Software Team

    I’m using Version 1.2.31 of the plugin. Version 3.5.1 of WordPress, and Version 1.7 of BuddyPress.

    Plugin Author BeyondPrograms

    (@beyondprograms)

    In that case, we do not know whats causing the error.

    “wp_generate_attachment_metadata” is defined in ABSPATH . ‘wp-admin/includes/image.php’.

    As you can see on line 425 of bepro_listings_functions.php, the above listed path is required before the function causing your error is executed. Have you had a chance to test the plugin on a clean install to verify this issue continues to exists?

    BePro Software Team

    Plugin Author BeyondPrograms

    (@beyondprograms)

    scratch that last post. We just uploaded a new fix BePro Listings 1.2.32. Download it and let us know if it corrects the issue you are experiencing

    BePro Software Team

    OK, great. Thanks. Can you let me know what files you guys updated. So I just replace those. That way I dont have loose the modifications made to certain files.

    Plugin Author BeyondPrograms

    (@beyondprograms)

    update bepro_listings_functions.php

    Plugin Author BeyondPrograms

    (@beyondprograms)

    line 424

    Awesome. Problem solved. Thanks for the help.

    Awesome. Problem solved. Thanks for the help.

    Plugin Author BeyondPrograms

    (@beyondprograms)

    Good to hear! Please rate the plugin.

    We appreciate the input from users, especially fellow coders. Input often results in the implementation of new free features. Consider coming over to our forum: http://beprosoftware.com/forums

    BePro Software Team

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Fatal Error when user adds image to listing’ is closed to new replies.