我正在開發symfony1項目,並且我得到了這個異常。任何人有什麼想法造成它?Symfony1 Array to string conversion
聲明:Array對C字符串轉換:\ WAMP \ WWW \公報\ APPS \ GAZ \模塊\ jobAppliance \行動\上線1183
public function executeSaveCandidateJsni()
{
$jobId = $this->getRequestParameter('job_id');
$job = JobPeer::retrieveByPK($jobId);
// Sauvegarde des objets jobAppliance et de jobApplianceAttachedFile
$listJApplianceAttachedCV = $this->getUser()->getAttribute('list_job_appliance_attached_cv');
// ***this is line 1183***
sfContext::getInstance()->getLogger()->debug('(Jsni) $listJApplianceAttachedCV = ' .$listJApplianceAttachedCV); // ***this is line 1183***
$listJApplianceAttachedFile = $this->getUser()->getAttribute('list_job_appliance_attached_file');
sfContext::getInstance()->getLogger()->debug('(Jsni) $listJApplianceAttachedFile = ' .$listJApplianceAttachedFile); //
$listDetailForm = $this->fillTableWithValueFromFormJsni();
$this->saveJApplAndJApplAttFileJsni($job, $listJApplianceAttachedCV, $listJApplianceAttachedFile, $listDetailForm);
// End Sauvegarde
// ... rest of the code
你能告訴一起'setAttribute'相應的呼籲'list_job_appliance_attached_cv'的代碼? – FoolishSeth 2014-10-05 17:31:56