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) »
  • Assign Users to Roles --Undefined Index errors
Pages: [1]

Author Topic: Assign Users to Roles --Undefined Index errors  (Read 544 times)

RegB

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: Drupal 7.20
  • MySQL version: 5.1.66
  • PHP version: 5.3.19
Assign Users to Roles --Undefined Index errors
December 02, 2012, 06:16:46 pm
I am setting up a new site using OG groups.  This is my first CiviCRM and Drupal site, so there has been a lot of trial and "testing" learning. 

I have a total of six OG Groups defined in Drupal.  When I go to the "Assign Users to Roles" page in CiviCRM I am seeing over 180 errors that look similar to the following:

Notice: Undefined index: 21 in CRM_ACL_Page_EntityRole->browse() (line 174 of /home/nenehutk/public_html/sites/all/modules/civicrm/CRM/ACL/Page/EntityRole.php).

Over the past few weeks I have added and deleted several OG Groups.  I found where one group failed to delete in the dr_og table, but appears to have been deleted from all other tables.  I deleted the entry but that made no change to these errors.

Any help on troubleshooting these errors would be greatly appreciated.


Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Assign Users to Roles --Undefined Index errors
December 03, 2012, 05:58:49 am
Hey RegB,

Unless you have noticed that these are causing something to not function, I am pretty sure that you don't need to worry about CiviCRM notices.  It is caused by 'lazy' (though not necessarily bad of faulty) coding.  You can turn off the diplay of notices in Drupals' errors ang logging page.
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Assign Users to Roles --Undefined Index errors

This forum was archived on 2017-11-26.