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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Error on create activity: Trying to get property of non-object
Pages: [1]

Author Topic: Error on create activity: Trying to get property of non-object  (Read 1573 times)

davideps

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3.2
Error on create activity: Trying to get property of non-object
October 17, 2011, 11:24:05 am
Hello,


CiviCRM installed without a problem. But I just started to get the following error upon creating an activity (new type called "Interview"). It looks like the activity does get created. Any idea what is causing this error?

Notice: Trying to get property of non-object in CRM_Case_XMLProcessor_Process->getRedactActivityEmail() (line 463 of /var/www/drupal-7.0/sites/all/modules/civicrm/CRM/Case/XMLProcessor/Process.php).
Notice: Undefined offset: 1 in CRM_Utils_String::stripAlternatives() (line 443 of /var/www/drupal-7.0/sites/all/modules/civicrm/CRM/Utils/String.php).


thank you,
-david

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Error on create activity: Trying to get property of non-object
October 17, 2011, 11:50:52 am
So are using CiviCase? - can you flesh out the steps you took to getting the XML set up properly?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

davideps

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3.2
Re: Error on create activity: Trying to get property of non-object
October 17, 2011, 06:53:00 pm
Wow Lobo, I think you responded to all my different posts on different forums. Impressive. I enabled CiviCase using Enable Components. I tried to enter and then realized that the module required an extensive setup. I'm not convinced I need it-- so, I disabled it. I do not see the "Other" menu with Case inside it, but maybe something is still lingering?

-david 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Error on create activity: Trying to get property of non-object

This forum was archived on 2017-11-26.