compucorp / uk.co.compucorp.civicrm.giftaid

3 stars 22 forks source link

Error with CiviCRM 5.10.3 #72

Open michael-chaplin-gmcvo opened 5 years ago

michael-chaplin-gmcvo commented 5 years ago

On submitting a test/live payment from a contribution page eg civicrm/contribute/transact, the site goes to Error The website encountered an unexpected error. Please try again later.

The watchdog contains a php error:

ArgumentCountError: Too few arguments to function CRM_Utils_Hook::invoke(), 7 passed in /home/*****/public_html/sites/default/files/civicrm/ext/uk.co.compucorp.civicrm.giftaid-civi4.5/CRM/Civigiftaid/Utils/Hook.php on line 118 and exactly 8 expected in CRM_Utils_Hook->invoke() (line 154 of /home/crmreach/public_html/sites/all/modules/civicrm/CRM/Utils/Hook.php).

Disabling the giftaid extension allows the payment to get to the thankyou page.

shitijg commented 5 years ago

Hi @mikantchap

Thanks for raising this - we'll look into this and get and get it fixed in the next few days.

Best, Shitij

vinuvarshith commented 5 years ago

Looking at the issue and the message posted, this should be the same as in #71 Pls check there for fix. Thanks cc @shitijg

michael-chaplin-gmcvo commented 5 years ago

After applying patches #68 and #74, I was able to submit a test payment from a contribution page.