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 Drupal Modules (Moderator: Donald Lobo) »
  • Views "CiviCRM Contacts: Text Link" throws errors
Pages: [1]

Author Topic: Views "CiviCRM Contacts: Text Link" throws errors  (Read 702 times)

crispinbailey

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 1
  • CiviCRM version: 4.0.5
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3
Views "CiviCRM Contacts: Text Link" throws errors
August 06, 2011, 02:34:14 pm
I'm getting the following error messages when I add text link fields (CiviCRM Contacts: Text Link) to my View to allow users to "view" and "edit" contact listings:

Quote
Notice: Undefined property: stdClass::$unknown in civicrm_handler_field_link_contact->render() (line 141 of /usr/www/users/.../.../sites/all/modules/civicrm/drupal/modules/views/civicrm/civicrm_handler_field_link_contact.inc).
Notice: Undefined variable: custom_link in civicrm_handler_field_link_contact->render_link() (line 126 of /usr/www/users/.../.../sites/all/modules/civicrm/drupal/modules/views/civicrm/civicrm_handler_field_link_contact.inc).

 ???

Each error message appears once for every contact in the resultant view. I'm assuming the first one is for the View Contact link and the second one is for the Edit Contact link.

I am running all the latest releases: Drupal 7.7, Views 3.0-rc1, CiviCRM 4.0.5

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Views "CiviCRM Contacts: Text Link" throws errors
August 08, 2011, 06:05:35 am
It's not exactly and error, it's notice and I don't think it will affect functionality hence for now you can ignore it. We will fix it in next release.

Kurund
Found this reply helpful? Support CiviCRM

crispinbailey

  • I post occasionally
  • **
  • Posts: 30
  • Karma: 1
  • CiviCRM version: 4.0.5
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Views "CiviCRM Contacts: Text Link" throws errors
August 08, 2011, 09:39:09 am
Thanks Kurund, you are correct that it does not seem to affect functionality. Still, glad to hear it will be addressed in the next release. :)

Cheers!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Views "CiviCRM Contacts: Text Link" throws errors

This forum was archived on 2017-11-26.