The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Donation Thermometer
[resolved] Conflict with another Donation Plugin (2 posts)

  1. StandardExcellence
    Posted 4 years ago #

    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.


  2. henryp
    Plugin Author

    Posted 4 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic