WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Donation Thermometer] Conflict with another Donation Plugin

[Resolved] [Plugin: Donation Thermometer] Conflict with another Donation Plugin

  • I get the following fatal error when trying to activate Donation Thermometer:

    Fatal error: Cannot redeclare my_admin_scripts() (previously declared in {%domain%}/testpress/wp-content/plugins/donate-goal/donation-goal.php:288) in {%domain}/testpress/wp-content/plugins/donation-thermometer/donation_therm.php on line 82

    I masked the domain structure for security reasons, but the idea is there. When I deactivated the other plugin (Donate Goal) the problem was resolved.

    Note: I have been testing various thermometer style progress meters, hence the duplication.

    http://wordpress.org/extend/plugins/donation-thermometer/

Viewing 1 replies (of 1 total)
  • Plugin Author henryp

    @henryp

    It looks like there’s a conflict with similar function names within the two plugins..if you want to use both plugins and are happy to edit the donation_therm.php file, simply rename the function on line 76 to something more unique e.g. function therm_scripts(){. You would also need to change the call on line 67 respectively too.

    I will make sure this is fixed in the next release!

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Donation Thermometer] Conflict with another Donation Plugin’ is closed to new replies.