Hi,

If given name is not assigned (and i could not find any documenation that i should), you get an 'Fatal error: Cannot access empty property' error message at line 393 of cck_vcard_module:

$cck_vcard_output .= '<span class="given-name">'.$element['#node']->{$cck_vcard_fields_fname}[0]['safe'].'</span>';

Comments

michaelpporter’s picture

Assigned: Unassigned » michaelpporter

We will test this, when building it this seemed to work.

michaelpporter’s picture

Status: Active » Fixed

Updated with checks for empty fields

magnus’s picture

Version: 6.x-1.0-beta1 » 6.x-1.0
Status: Fixed » Needs work

It seems this has not been committed to CVS. Thus, 6.x-1.0, does not include the fix.

michaelpporter’s picture

ugh, you are right the latest version did not get posted.

michaelpporter’s picture

Status: Needs work » Fixed

Updated in 6.x-1.2

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

kpolymorphic’s picture

Version: 6.x-1.0 » 6.x-1.8
StatusFileSize
new6.35 KB

This problem reappeared in the latest version for us. It was created by enabling vcard options on the node form then disabling some of them later by setting to "Ignore Field". I created a patch to fix the problem.

kpolymorphic’s picture

Status: Closed (fixed) » Needs review

This issue seems to have reappeared in the latest version. Please check.

michaelpporter’s picture

I have tried to update the module but Drupal is telling me there is no valid tag. not sure why this is.