Critical Bug in Code on Line 494

netclickonline - April 15, 2009 - 01:05
Project:CRM API
Version:6.x-1.0
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

Critical Bug in Code on Line 494

#1

seanr - June 5, 2009 - 16:04

Is this still an issue? If so, I'll need more info, including the specific wording of the error message.

#2

gioppy - June 9, 2009 - 18:38

I have the same error. For me, in the Enabled CRMs section i have this error:

warning: array_keys() [function.array-keys]: The first argument should be an array in /Applications/MAMP/htdocs//sites/all/modules/crmapi/crmapi.module on line 494.

In the "Section" section i have this one:

* warning: array_keys() [function.array-keys]: The first argument should be an array in /Applications/MAMP/htdocs//sites/all/modules/crmapi/crmapi.module on line 153.
* warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs//includes/form.inc on line 1420.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /Applications/MAMP/htdocs//sites/all/modules/crmapi/crmapi.module on line 494.

In the Fields section i have a blank page.
I hope i be usefull....

P.S.:sorry for my very bad english!!! ;)

#3

seanr - June 10, 2009 - 22:14

What CRM are you using with it?

#4

gioppy - June 20, 2009 - 15:21

The 6.x-1.0 version.

#5

seanr - June 22, 2009 - 20:21

What I meant is that this module is just an API intended to allow Drupal to integrate with external CRM systems. You should only use this module if you're integrating with a CRM like Salesforce, CiviCRM, or NGP's Campaign Office.

#6

matteoraggi - July 5, 2009 - 08:19

I get the same error using drupal 6.13 I want to use it with civicrm, plus if I go here:
domain/admin/settings/crmapi/fields I get this error:
Fatal error: Call to undefined function _debug() in /home/fornitur/public_html/forniture-alberghiere.net/sites/all/modules/crmapi/crmapi.module on line 267

So which advantages I can get exactly using civicrm and this module?

#7

seanr - July 6, 2009 - 18:21

OK, try a fresh checkout from CVS (HEAD). I don't use CIviCRM at all and don't really have the ability to test it at the moment. I do know some other folks who used it with this module and will ask them about it.

 
 

Drupal is a registered trademark of Dries Buytaert.