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) »
  • Searching for a group gives a warning
Pages: [1]

Author Topic: Searching for a group gives a warning  (Read 474 times)

kennedy

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 5
  • CiviCRM version: 4.5.5
  • CMS version: Drupal
  • PHP version: 5.3.10
Searching for a group gives a warning
February 05, 2014, 01:00:09 am
If i do a search for a group from here http://example.com/civicrm/group?reset=1, and if the group doesn't exist, i get the this warning message: Warning: Invalid argument supplied for foreach() in CRM_Utils_JSON::encodeDataTableSelector()

See attached file for more details. Is this something to be worried about?

I am using CiviCRM 4.4.3 and Drupal 7

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Searching for a group gives a warning
February 06, 2014, 01:02:00 pm
Not sure I understand the steps you're taking - but when I try entering some characters that don't match an existing group name on the 4.4 demo under Manage Groups - and click Search - I get the expected result: "No matching groups ..."

Can you recreate the fatal error you're seeing on one of the public demos?
Protect your investment in CiviCRM by  becoming a Member!

kennedy

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 5
  • CiviCRM version: 4.5.5
  • CMS version: Drupal
  • PHP version: 5.3.10
Re: Searching for a group gives a warning
February 06, 2014, 02:20:54 pm
Hi Dave, your search steps are correct. Please after the search check your Drupal recent log messages from here http://example.org/admin/reports/dblog, i get the following warning Invalid argument supplied for foreach() in CRM_Utils_JSON::encodeDataTableSelector() (line 122 of ../sites/all/modules/civicrm/CRM/Utils/JSON.php).

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Searching for a group gives a warning
February 06, 2014, 03:49:49 pm
Yep - I see that in our demo log. I don't think this is a significant issue, but it should be fixed. Can you file an issue on the issue tracker w/ the steps and the log file error? Thx.
Protect your investment in CiviCRM by  becoming a Member!

kennedy

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 5
  • CiviCRM version: 4.5.5
  • CMS version: Drupal
  • PHP version: 5.3.10
Re: Searching for a group gives a warning
February 06, 2014, 11:53:02 pm
Issue filed http://issues.civicrm.org/jira/browse/CRM-14185

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Searching for a group gives a warning

This forum was archived on 2017-11-26.