fuzionnz / nz.co.fuzion.flo2cashdonate

Flo2Cash Donate payment processor extension for CiviCRM
Other
1 stars 1 forks source link

Error messages after installation #2

Open websynapse opened 9 years ago

websynapse commented 9 years ago

I'm getting this error after flushing caches (UN Women):

Strict warning: Declaration of nz_co_fuzion_flo2cashdonate::singleton() should be compatible with & CRM_Core_Payment::singleton($mode, &$paymentProcessor, &$paymentForm = NULL, $force = false) in CRM_Core_Payment->singleton() (line 108 of/var/www/xxx/sites/all/modules/contrib/civicrm/CRM/Core/Payment.php). Strict warning: Accessing static property nz_co_fuzion_flo2cashdonate::$_mode as non static in nz_co_fuzion_flo2cashdonate->__construct() (line66 of /var/www/xxx/sites/default/civicrm/extensions/nz.co.fuzion.flo2cashdonate/flo2cashdonate.php). Strict warning: Accessing static property nz_co_fuzion_flo2cashdonate::$_mode as non static in nz_co_fuzion_flo2cashdonate->doTransferCheckout()(line 149 of /var/www/xxx/sites/default/civicrm/extensions/nz.co.fuzion.flo2cashdonate/flo2cashdonate.php). Strict warning: Accessing static property nz_co_fuzion_flo2cashdonate::$_mode as non static in nz_co_fuzion_flo2cashdonate->doTransferCheckout()(line 150 of /var/www/xxx/sites/default/civicrm/extensions/nz.co.fuzion.flo2cashdonate/flo2cashdonate.php).

This on the donate page:

Strict warning: Declaration of nz_co_fuzion_flo2cashdonate::singleton() should be compatible with & CRM_Core_Payment::singleton($mode, &$paymentProcessor, &$paymentForm = NULL, $force = false) in CRM_Core_Payment->singleton() (line 108 of/var/www/xxx/sites/all/modules/contrib/civicrm/CRM/Core/Payment.php). Strict warning: Accessing static property nz_co_fuzion_flo2cashdonate::$_mode as non static in nz_co_fuzion_flo2cashdonate->__construct() (line 66 of/var/www/xxx/sites/default/civicrm/extensions/nz.co.fuzion.flo2cashdonate/flo2cashdonate.php

eileenmcnaughton commented 9 years ago

Problem is that civi changed that signature so supporting multiple versions of CiviCRM for payment processors is a problem - in this case 4.3 has been ditched in favour of later versions I would say.

Unless you are on a new 4.5 install?