WordPress.org

Forums

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

  1. fcvolunteer
    Member
    Posted 1 year 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
    Posted 1 year ago #

    You can't redefine a plugin function.

    That said - I removed the extra space in version 3.2.3

    Enjoy!

    ...Allen

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Seamless Donations
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic