WordPress.org

Ready to get started?Download WordPress

Forums

Frontend Uploader
Plugin 0.2.4 update fails to activate (9 posts)

  1. MadysonDesigns
    Member
    Posted 1 year ago #

    I downloaded the 0.2.4 update (from 0.2.2) and upon re-activation got the following error:

    Fatal error: Cannot redeclare class WeDevs_Settings_API in /Users/Sarah/Sites/brochure-wp/beta/wp-content/plugins/frontend-uploader/lib/php/settings-api/class.settings-api.php on line 10

    I've since reverted but please advise.

    http://wordpress.org/extend/plugins/frontend-uploader/

  2. Daniel Bachhuber
    Hand Built
    Plugin Contributor

    Posted 1 year ago #

    Do you know whether WeDevs_Settings_API is being included by another plugin?

  3. MadysonDesigns
    Member
    Posted 1 year ago #

    Yes, the WP Retina 2X plugin uses it: http://wordpress.org/extend/plugins/wp-retina-2x/

  4. Daniel Bachhuber
    Hand Built
    Plugin Contributor

    Posted 1 year ago #

    Sorry about that. The immediate fix is to only keep one of the plugins enabled. Rinat created a pull request upstream to make sure the class can be included twice, and hopefully that will make it into v0.2.5

  5. Rinat Khaziev
    Member
    Plugin Author

    Posted 1 year ago #

    This is fixed in 0.2.5. Also as Daniel mentioned, I made sure that WeDevs_Settings_API won't trigger that error.

  6. MadysonDesigns
    Member
    Posted 1 year ago #

    I just tried updating the plugin again, and this time it activates, but then kills the entire WP because it causes the above error in another plugin:

    Fatal error: Cannot redeclare class WeDevs_Settings_API in /Users/Sarah/Sites/brochure-wp/beta/wp-content/plugins/wp-retina-2x/wr2x_class.settings-api.php on line 10

    Thoughts?

  7. Rinat Khaziev
    Member
    Plugin Author

    Posted 1 year ago #

    Let me quickly test this wp-retina-2x and see what's up

  8. MadysonDesigns
    Member
    Posted 1 year ago #

    I just posted the error in their support forum so their developer can look into it as well. Thanks for the help!

  9. Rinat Khaziev
    Member
    Plugin Author

    Posted 1 year ago #

    Yep, I confirm, the developer of wp-retina-2x did not update the plugin. Let me chime in on the discussion.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic