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) »
  • Task.php Errors
Pages: [1]

Author Topic: Task.php Errors  (Read 1373 times)

tekoun23

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.10
  • MySQL version: 5.0.77
  • PHP version: 5.2.14
Task.php Errors
February 10, 2012, 01:49:47 am
Why would there be Task.php errors showing up when I haven't edited the Task.php??

The errors are specifically:

Notice: Undefined offset: 12 in CRM_Contact_Task::permissionedTaskTitles() (line 287 of /home/nccbt0/public_html/drupal-7.10/sites/all/modules/civicrm/CRM/Contact/Task.php).
Notice: Undefined offset: 20 in CRM_Contact_Task::permissionedTaskTitles() (line 289 of /home/nccbt0/public_html/drupal-7.10/sites/all/modules/civicrm/CRM/Contact/Task.php).
Notice: Undefined offset: 20 in CRM_Contact_Task::permissionedTaskTitles() (line 291 of /home/nccbt0/public_html/drupal-7.10/sites/all/modules/civicrm/CRM/Contact/Task.php).
Notice: Undefined offset: 12 in CRM_Contact_Task::permissionedTaskTitles() (line 294 of /home/nccbt0/public_html/drupal-7.10/sites/all/modules/civicrm/CRM/Contact/Task.php).

Any idea how to make these go away????  I have no clue where to start.

Thanks!
-Nadya

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: Task.php Errors
February 10, 2012, 08:56:00 am

can you try the same steps on our sandbox servers:

http://sandbox.drupal.civicrm.org/

we've made a strong effort to get rid of all notices in 4.1

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

sgchan

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 0
Re: Task.php Errors
March 10, 2012, 11:06:42 pm
Lobo, I get this error too when I uncheck "CiviCRM: edit all contacts" permission in Drupal.

If I turn turn it back on, then the message disappears. Hope you have help resolve this because it is annoying "view-only" users.  :-\

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: Task.php Errors
March 11, 2012, 08:56:07 am

in what version?

If 4.0, u'll need to suppress notices in Drupal. If 4.1, can you reproduce on the demo server please

thanx

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

sgchan

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 0
Re: Task.php Errors
March 11, 2012, 09:14:20 am
I am using 4.1... I need to create a user with Drupal permissions that has "CiviCRM: edit all contacts" unchecked. The sandbox does not permit me to create a new user with new permissions, does it? Sorry for my ignorance.

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: Task.php Errors
March 11, 2012, 11:34:33 am

issue filed here:

http://issues.civicrm.org/jira/browse/CRM-9858

will be fixed for 4.1.2

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Task.php Errors

This forum was archived on 2017-11-26.