Support » Plugin: Seamless Donations » Error when adding function to child theme

  • Resolved fcvolunteer


    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.


Viewing 1 replies (of 1 total)
  • You can’t redefine a plugin function.

    That said – I removed the extra space in version 3.2.3



Viewing 1 replies (of 1 total)
  • The topic ‘Error when adding function to child theme’ is closed to new replies.