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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • "argument should be an array" Warnings
Pages: [1]

Author Topic: "argument should be an array" Warnings  (Read 728 times)

spflanze

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
"argument should be an array" Warnings
November 30, 2010, 08:18:21 am
I have just integrated CiviCRM 3.2.0 into Pressflow 6.19 (a Drupal fork). I have not done anything with CiviCRM (no content has been added) and already I get the below warnings appearing in a field with a pink background in my Drupal user 1 profile: 
Quote
* Warning: array_filter() [<a href='function.array-filter'>function.array-filter</a>]: The first argument should be an array in _civicrm_group_update() (line 179 of /var/customers/webs/Webmaster/jail4judges.info/sites/all/modules/civicrm/drupal/modules/civicrm_group_roles/civicrm_group_roles.module).
    * Warning: array_diff_key() [<a href='function.array-diff-key'>function.array-diff-key</a>]: Argument #2 is not an array in _civicrm_group_update() (line 181 of /var/customers/webs/Webmaster/jail4judges.info/sites/all/modules/civicrm/drupal/modules/civicrm_group_roles/civicrm_group_roles.module).
    * Warning: Invalid argument supplied for foreach() in _civicrm_group_update() (line 183 of /var/customers/webs/Webmaster/jail4judges.info/sites/all/modules/civicrm/drupal/modules/civicrm_group_roles/civicrm_group_roles.module).
The argument might not be an array because there is no content yet. Is this something to be concerned about?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: "argument should be an array" Warnings
December 05, 2010, 10:39:28 pm
Try using CiviCRM v3.3.0. There were few fixes related to civicrm_group_role module in 3.3

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • "argument should be an array" Warnings

This forum was archived on 2017-11-26.