An unhandled exception occurred

Argument 1 passed to Voting_Plugin::getVotingForObject() must be an instance of Db_ActiveRecord, null given, called in /home/web_culture/public_html/views/application/static_page.htm on line 84 and defined

File: /home/web_culture/public_html/modules/voting/classes/voting_plugin.php, line: 108.

Exception class: Phpr_PhpException

Stack trace:

  1. Voting_Plugin->getVotingForObject('') in static_page.htm, line 84
  2. include('/home/web_culture/public_html/views/application/static_page.htm') in phpr_controllerbase.php, line 131
  3. Phpr_ControllerBase->renderPartial('static_page', '', '', '') in core_frontendcontroller.php, line 214
  4. Core_FrontendController->renderPartial('static_page', '', '') in phpr_controllerbase.php, line 93
  5. Phpr_ControllerBase->loadView('static_page') in phpr_controller.php, line 129
  6. Phpr_Controller->loadView('static_page', '', '1') in core_frontendcontroller.php, line 140
  7. Core_FrontendController->on404()
  8. call_user_func_array(array, array) in phpr_controller.php, line 183
  9. Phpr_Controller->executeAction('on404', array) in core_frontendcontroller.php, line 267
  10. Core_FrontendController->executeAction('on404', array) in phpr_controller.php, line 108
  11. Phpr_Controller->_run('on404', array) in phpr_response.php, line 140
  12. Phpr_Response->open404() in phpr_response.php, line 106
  13. Phpr_Response->open('/contacts/podvedomstvennyie-gosudarstvennyie-uchrezhdeniya/') in phproad.php, line 231
  14. include('/home/web_culture/public_html/phproad/system/phproad.php') in index.php, line 40