CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Error message when creating custom fields
Pages: [1]

Author Topic: Error message when creating custom fields  (Read 1097 times)

IHateForums!

  • Guest
Error message when creating custom fields
February 10, 2009, 02:04:04 pm
I'm getting an error message when I go to create custom fields after already creating a few.  The message is as follows:

* warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/local/coral/dist2/sites/default/modules/civicrm/CRM/Event/BAO/Participant.php on line 501.
* warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/local/coral/dist2/sites/default/modules/civicrm/CRM/Event/BAO/Participant.php on line 501.
* warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/local/coral/dist2/sites/default/modules/civicrm/CRM/Event/BAO/Participant.php on line 501.

Excuse the repetition, but I got it three times at once like that for some reason, so I thought it might be significant.

Thanks in advance.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Error message when creating custom fields
February 10, 2009, 03:36:21 pm

can you reproduce this on the sandbox server: http://sandbox.civicrm.org/

if so, please file an issue

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: Error message when creating custom fields
February 10, 2009, 04:22:17 pm
what version of PHP are you using and what version of CiviCRM.
Chances are it will not happen in the sandbox ( -:
If it does not then maybe it is your version of PHP ie not a new enough version.
I have seen version 5.1 give me errors with arrays

IHateForums!

  • Guest
Re: Error message when creating custom fields
February 11, 2009, 06:49:16 am
Thanks, I'll figure out my PHP version, and see if that's it.  If not, I'll try the sandbox.

IHateForums!

  • Guest
Re: Error message when creating custom fields
February 11, 2009, 07:49:17 am
So, it's version 5.1.6.  Is that a bad thing?  ???

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Error message when creating custom fields

This forum was archived on 2017-11-26.