compucorp / uk.co.compucorp.civicrm.giftaid

3 stars 22 forks source link

WARNING: Civicrm 4.3.8, GA Extension 2.2 #8

Open tapashdatta opened 10 years ago

tapashdatta commented 10 years ago

Strict warning: Only variables should be assigned by reference in CRM_Civigiftaid_Form_Task_AddToBatch->postProcess() (line 139 of /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/extensions/uk.co.compucorp.civicrm.giftaid/CRM/Civigiftaid/Form/Task/AddToBatch.php).

Strict warning: Non-static method CRM_Civigiftaid_Utils_Contribution::_calculateGiftAidAmt() should not be called statically in CRM_Civigiftaid_Utils_Contribution::_calculateGiftAidAmt() (line 125 of /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/extensions/uk.co.compucorp.civicrm.giftaid/CRM/Civigiftaid/Utils/Contribution.php).

Log from Civicrm

Nov 25 13:50:34 [info] $backTrace = #0 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/CRM/Core/Error.php(196): CRM_Core_Error::backtrace("backTrace", TRUE)

1 [internal function](): CRM_Core_Error::handle(Object(DB_Error))

2 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/packages/PEAR.php(931): call_user_func((Array:2), Object(DB_Error))

3 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/packages/DB.php(969): PEAR_Error->PEAR_Error("DB Error: no such table", -18, 16, (Array:2), " INSERT INTO civicrm_gift_aid_polling_request(\n ...")

4 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/packages/PEAR.php(564): DB_Error->DB_Error(-18, 16, (Array:2), " INSERT INTO civicrm_gift_aid_polling_request(\n ...")

5 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/packages/DB/common.php(1905): PEAR->raiseError(NULL, -18, NULL, NULL, " INSERT INTO civicrm_gift_aid_polling_request(\n ...", "DB_Error", TRUE)

6 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/packages/DB/mysql.php(898): DB_common->raiseError(-18, NULL, NULL, NULL, "1146 \ Table 'civicrm.civicrm_gift_aid_polling_request' doesn't exist")

7 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/packages/DB/mysql.php(327): DB_mysql->mysqlRaiseError()

8 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/packages/DB/common.php(1216): DB_mysql->simpleQuery(" INSERT INTO civicrm_gift_aid_polling_request(\n ...")

9 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/packages/DB/DataObject.php(2421): DB_common->query(" INSERT INTO civicrm_gift_aid_polling_request(\n ...")

10 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/packages/DB/DataObject.php(1613): DB_DataObject->_query(" INSERT INTO civicrm_gift_aid_polling_request(\n ...")

11 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/CRM/Core/DAO.php(155): DB_DataObject->query(" INSERT INTO civicrm_gift_aid_polling_request(\n ...")

12 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/CRM/Core/DAO.php(917): CRM_Core_DAO->query(" INSERT INTO civicrm_gift_aid_polling_request(\n ...", TRUE)

13 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/extensions/uk.co.vedaconsulting.module.giftaidonline-1.3.3/CRM/Giftaidonline/Page/OnlineSubmission.php(154): CRM_Core_DAO::executeQuery(" INSERT INTO civicrm_gift_aid_polling_request(\n ...", (Array:10))

14 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/extensions/uk.co.vedaconsulting.module.giftaidonline-1.3.3/CRM/Giftaidonline/Page/OnlineSubmission.php(336): CRM_Giftaidonline_Page_OnlineSubmission->_record_polling("1", "<GovTalkMessage xmlns=\"http://www.govtalk.gov.uk/CM/envelope\">\n <EnvelopeV...", "<?xml version=\"1.0\"?><GovTalkMessage xmlns=\"http://www.govtalk.gov.uk/CM/e...", "error", "Gateway2000fatalThe Gateway could not locate a record for the supplied correl...", "https://secure.gateway.gov.uk/poll", "10", "", "138538743377", 1385387433)

15 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/extensions/uk.co.vedaconsulting.module.giftaidonline-1.3.3/CRM/Giftaidonline/Page/OnlineSubmission.php(387): CRM_Giftaidonline_Page_OnlineSubmission->process_batch("1")

16 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/CRM/Core/Invoke.php(292): CRM_Giftaidonline_Page_OnlineSubmission->run((Array:2), NULL)

17 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/CRM/Core/Invoke.php(70): CRM_Core_Invoke::runItem((Array:13))

18 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:2))

19 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/sites/all/modules/civicrm/drupal/civicrm.module(436): CRM_Core_Invoke::invoke((Array:2))

20 [internal function](): civicrm_invoke("onlinesubmission")

21 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/includes/menu.inc(517): call_user_func_array("civicrm_invoke", (Array:1))

22 /Users/TotaGopinath/Library/Containers/com.bitnami.drupal/Data/app-7_19/apps/drupal/htdocs/index.php(21): menu_execute_active_handler()

23 {main}

erawat commented 10 years ago

What PHP version are you using?

The GiftAid extension itself shows only notification warning as the function may be removed in the new version of PHP

The log from CiviCRM is the issue with the GiftAid submission which you may need to contact the developer.

tapashdatta commented 10 years ago

PHP-FPM 5.3.3 Ok, Thanks, will contact the submission developer.