WordPress.org

Ready to get started?Download WordPress

Forums

Seamless Donations
[resolved] Error when adding function to child theme (2 posts)

  1. fcvolunteer
    Member
    Posted 4 months ago #

    I'm trying to correct a typo in the dgx-donate.php file which is putting an extra space before the text:

    Add me to your mailing list

    I tried fixing this by following the directions here and adding the dgx_donate_get_donor_section function to my child theme's function.php file. When I did that I got the following error:

    Fatal error: Cannot redeclare dgx_donate_get_tribute_section() (previously declared in \wp-content\plugins\seamless-donations\dgx-donate.php:552) in \wp-content\themes\FCNC\functions.php on line 186

    Any help would be much appreciated.

    Thanks!

    https://wordpress.org/plugins/seamless-donations/

  2. allendav
    Member
    Plugin Author

    Posted 4 months ago #

    You can't redefine a plugin function.

    That said - I removed the extra space in version 3.2.3

    Enjoy!

    ...Allen

Reply

You must log in to post.

About this Plugin

About this Topic