WordPress.org

Ready to get started?Download WordPress

Forums

BePro Listings
[resolved] Fatal Error when user adds image to listing (11 posts)

  1. ekihc
    Member
    Posted 1 year ago #

    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/

  2. BeyondPrograms
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    What version of the plugin are you using?

    BePro Software Team

  3. ekihc
    Member
    Posted 1 year ago #

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

  4. BeyondPrograms
    Member
    Plugin Author

    Posted 1 year ago #

    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

  5. BeyondPrograms
    Member
    Plugin Author

    Posted 1 year ago #

    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

  6. ekihc
    Member
    Posted 1 year ago #

    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.

  7. BeyondPrograms
    Member
    Plugin Author

    Posted 1 year ago #

    update bepro_listings_functions.php

  8. BeyondPrograms
    Member
    Plugin Author

    Posted 1 year ago #

    line 424

  9. ekihc
    Member
    Posted 1 year ago #

    Awesome. Problem solved. Thanks for the help.

  10. ekihc
    Member
    Posted 1 year ago #

    Awesome. Problem solved. Thanks for the help.

  11. BeyondPrograms
    Member
    Plugin Author

    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.