Unhandled Error!
Trying to get property of non-object
Document |
VCard Download |
Document type |
CMS page |
Line |
7 |
Exception class |
Cms_ExecutionException |
Code Highlight
<?
$profile = OurTeam_Teams::list_profiles()->find_by_id($this->request_params[0]);
$today = getdate();
header('Content-Type: text/csv; charset=utf-8');
header('Content-Disposition: attachment; filename='. $profile->first_name . $profile->last_name. '.vcf');
echo "BEGIN:VCARD\n";
echo "VERSION:3.0\n";
echo "FN:" . $profile->first_name . $profile->last_name . "\n";
echo "ORG:JWP Solicitors\n";
echo "URL:www.jwpsolicitors.co.uk\n";
# |
Document |
Type |
1 |
VCard Download |
CMS page |