Invalid value passed to prepareValue:

File: /var/www/ialoc/lib/Ws/Model/Resource.php (103)
Class: Ws_Model_Resource -> prepareValue

File: /var/www/ialoc/lib/Ws/Model.php (912)
Class: Ws_Model_Resource -> prepareConditions

File: /var/www/ialoc/lib/Ws/Model.php (523)
Class: Ws_Model -> __call

File: /var/www/ialoc/app/modules/restaurant/models/Restaurant.php (325)
Class: Ws_Model -> where

File: /var/www/ialoc/app/modules/restaurant/views/campaigns/_list_item_full.phtml (9)
Class: Restaurant_Model_Restaurant -> getPhoto

File: /var/www/ialoc/lib/Zend/View.php (108)
Class: -> include

File: /var/www/ialoc/lib/Zend/View/Abstract.php (888)
Class: Zend_View -> _run

File: /var/www/ialoc/lib/Zend/View/Helper/Partial.php (105)
Class: Zend_View_Abstract -> render

File: /var/www/ialoc/lib/Zend/View/Abstract.php (349)
Class: Zend_View_Helper_Partial -> partial

File: /var/www/ialoc/app/modules/restaurant/views/campaigns/valentines.phtml (28)
Class: Zend_View_Abstract -> __call

File: /var/www/ialoc/lib/Zend/View.php (108)
Class: -> include

File: /var/www/ialoc/lib/Zend/View/Abstract.php (888)
Class: Zend_View -> _run

File: /var/www/ialoc/lib/Zend/Controller/Action/Helper/ViewRenderer.php (900)
Class: Zend_View_Abstract -> render

File: /var/www/ialoc/lib/Zend/Controller/Action/Helper/ViewRenderer.php (921)
Class: Zend_Controller_Action_Helper_ViewRenderer -> renderScript

File: /var/www/ialoc/lib/Zend/Controller/Action/Helper/ViewRenderer.php (960)
Class: Zend_Controller_Action_Helper_ViewRenderer -> render

File: /var/www/ialoc/lib/Zend/Controller/Action/HelperBroker.php (277)
Class: Zend_Controller_Action_Helper_ViewRenderer -> postDispatch

File: /var/www/ialoc/lib/Zend/Controller/Action.php (527)
Class: Zend_Controller_Action_HelperBroker -> notifyPostDispatch

File: /var/www/ialoc/lib/Zend/Controller/Dispatcher/Standard.php (308)
Class: Zend_Controller_Action -> dispatch

File: /var/www/ialoc/lib/Zend/Controller/Front.php (954)
Class: Zend_Controller_Dispatcher_Standard -> dispatch

File: /var/www/ialoc/lib/Zend/Application/Bootstrap/Bootstrap.php (97)
Class: Zend_Controller_Front -> dispatch

File: /var/www/ialoc/lib/Zend/Application.php (366)
Class: Zend_Application_Bootstrap_Bootstrap -> run

File: /var/www/ialoc/public/index.php (46)
Class: Zend_Application -> run