ErrorException [ Recoverable Error ]: Argument 3 passed to Kohana_Database_Exception::__construct() must be of the type array, integer given, called in /var/www/studio/data/www/lasposamia.ru/modules/database/classes/kohana/database/mysqli.php on line 190 and defined

MODPATH/database/classes/kohana/database/exception.php [ 27 ]

22 	 * @param   string   error message
23 	 * @param   array    translation variables
24 	 * @param   integer  the exception code
25 	 * @return  void
26 	 */
27 	public function __construct($db_code, $message, array $variables = NULL, $code = 0)
28 	{
29 		$this->db_code = $db_code;
30 
31 		parent::__construct($message, $variables, $code);
32 	}
  1. MODPATH/database/classes/kohana/database/exception.php [ 27 ] » Kohana_Core::error_handler(arguments)

  2. MODPATH/database/classes/kohana/database/mysqli.php [ 190 ] » Kohana_Database_Exception->__construct(arguments)

  3. MODPATH/database/classes/kohana/database/query.php [ 225 ] » Kohana_Database_MySQLi->query(arguments)

  4. MODPATH/cms/classes/controller/chpu.php [ 76 ] » Kohana_Database_Query->execute()

  5. {PHP internal call} » Controller_Chpu->action_index(arguments)

  6. SYSPATH/classes/kohana/request.php [ 1217 ] » ReflectionMethod->invokeArgs(arguments)

  7. APPPATH/bootstrap.php [ 144 ] » Kohana_Request->execute()

  8. DOCROOT/index.php [ 109 ] » require(arguments)

Environment