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) »
  • Getting an "Undefined Property" error when doing a contact quick search
Pages: [1]

Author Topic: Getting an "Undefined Property" error when doing a contact quick search  (Read 508 times)

dwfriederichs

  • I post occasionally
  • **
  • Posts: 56
  • Karma: 1
Getting an "Undefined Property" error when doing a contact quick search
December 09, 2012, 07:53:48 pm
I recently upgraded to Civi 4.1.16 and Joomla 2.5.8, and started getting this error when doing a quick search (this text is in place of where search results would normally appear):

"Notice: Undefined property: CRM_Core_DAO:$street_address in <site root>/careerep.net/administrator/components/com_civicrm/civicrm/api/v3/contact.php on line 796".  This is repeated 10 times. 

I've never seen anything like this before and am not sure what to do next.  Any help would be appreciated.  FYI, normal search works fine. 

I've posted the screenshot and contact.php for download at careerep.net/civierror.zip. 

« Last Edit: December 09, 2012, 07:57:56 pm by dwfriederichs »

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Getting an "Undefined Property" error when doing a contact quick search
December 09, 2012, 09:21:49 pm
Technically that's not an error. It's a notice, which is there to tell software developers that they've done something slightly wrong. That particular one has no doubt already been addressed in version 4.2. If you set php to suppress these warnings it will go away. Or you could upgrade.
Try asking your question on the new CiviCRM help site.

dwfriederichs

  • I post occasionally
  • **
  • Posts: 56
  • Karma: 1
Re: Getting an "Undefined Property" error when doing a contact quick search
December 09, 2012, 09:36:56 pm
Coleman, thanks.  Unfortunately my host hasn't upgraded to PHP 5.3, so I can't upgrade yet, but I'll suppress the warnings.

I've seen more of these - I assume that this one below is another example of the same?  I got this on the contact listing screen after doing a search.

Notice: Uninitialized string offset: 0 in /hsphere/local/home/c168529/careerep.net/administrator/components/com_civicrm/civicrm/CRM/Contact/BAO/ProximityQuery.php on line 350 Notice: Uninitialized string offset: 0 in /hsphere/local/home/c168529/careerep.net/administrator/components/com_civicrm/civicrm/CRM/Contact/BAO/ProximityQuery.php on line 350 Notice: Uninitialized string offset: 0 in /hsphere/local/home/c168529/careerep.net/administrator/components/com_civicrm/civicrm/CRM/Contact/BAO/ProximityQuery.php on line 350 Notice: Uninitialized string offset: 0 in /hsphere/local/home/c168529/careerep.net/administrator/components/com_civicrm/civicrm/CRM/Contact/BAO/ProximityQuery.php on line 350

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Getting an "Undefined Property" error when doing a contact quick search
December 09, 2012, 09:39:40 pm
Yes, there are many, many warnings prior to 4.2. There's no point mentioning them all. Just change your php error settings to hide them.
For the most part they are all fixed in 4.2 or will be in 4.3.
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Getting an "Undefined Property" error when doing a contact quick search

This forum was archived on 2017-11-26.