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 CiviMail (Moderator: Piotr Szotkowski) »
  • Undefined index Activity.php
Pages: [1]

Author Topic: Undefined index Activity.php  (Read 497 times)

ktunstall

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Undefined index Activity.php
April 10, 2012, 08:23:37 am
This occurs when you are looking at either the activity report, or the activities on an individual.

For an individual, this happens when you "view" the activity.
On the activity report, this happens when you click on the "activity type."

Also, as far as I can tell it is only happening on my user.
I have been unable to duplicate the error on any other activity of any user except for myself.

Notice: Undefined index: source_contact in CRM_Activity_Form_Activity->setDefaultValues() (line 476 of /home/user/public_html/sites/all/modules/civicrm/CRM/Activity/Form/Activity.php).

It does not happen on every activity. Only a few.
I don't know if that is relevant.
« Last Edit: April 10, 2012, 08:48:42 am by ktunstall »

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: Undefined index Activity.php
April 10, 2012, 09:37:08 am

this has been fixed for the next release of 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

ktunstall

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Re: Undefined index Activity.php
April 10, 2012, 10:04:52 am
cool....looking forward to that release.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Undefined index Activity.php

This forum was archived on 2017-11-26.