Fatal error: Access to undeclared static property: CRM_Core_DAO::$_NULLArray in /home/tnsconejo/www/www/sites/all/modules/civicrm_constant_contact/civicrm_constant_contact.module on line 264

Comments

adixon’s picture

I get this also, and looking through the code I'm baffled by the frequency of:

CRM_Core_DAO::$_NULLArray

as the second argument to CRM_Core_DAO::executeQuery.

I assume that this is supposed to just be an empty array, so i replaced that second argument with

array()

everywhere it appears (10+ times) and it's now no longer throwing errors, and seems to be working.

Nick Robillard’s picture

Priority: Normal » Major

Thanks adixon. Looks like CRM_Core_DAO::$_NULLArray is removed from civicrm 3.4.

bigjim’s picture

Committed the change to the 1.x branch, thanks for the testing and work

bigjim’s picture

Status: Active » Closed (fixed)