"; $contacts = Infusionsoft DataService::query WithOrderBy(new Infusionsoft Contact(), array('Email' => $e), 'FirstName', false); $get_contact = array_shift($contacts); $member_since_date = $get_contact->_MemberSince; $member_since = date("Y", strtotime($member_since_date)); $TenMinTalkURLs = $get_contact->_TenMinTalkURLs; $TenMinTalkThisMeeting = $get_contact->_TenMinTalkThisMeeting; $GNReferredBy = $get_contact->_GNReferredBy; $RENEWALDATE = $get_contact->_RENEWALDATE; $BookAuthored = $get_contact->_BookAuthored; $FirstMeeting = $get_contact->_FirstMeeting; $SoldBy = $get_contact->_SoldBy; $IveGOT = $get_contact->_IveGOT; $ThatGIVES = $get_contact->_ThatGIVES; $WhichGets = $get_contact->_WhichGets; $Iwanthelpwith = $get_contact->_Iwanthelpwith; $date = $get_contact->_RENEWALDATE; $your_date = date("m-d-y", strtotime($date)); $bday_date = $get_contact->Birthday; if( is_null($bday_date)) { $bday_date_formatted = ''; } else { $bday_date_formatted = date("m-d", strtotime($bday_date)); } //var_dump($get_contact->_Iwanthelpwith); //var_dump($get_contact); $user = get_user_by( 'email', $e); $author = get_userdata($user->ID); $bio = $author->user_description; $bio = nl2br($bio); ?>
What am I doing wrong?