ErrorException[ Warning ]: mysql_error() expects parameter 1 to be resource, object given

/usr/share/nginx/html/9yjd/lib/db/mysqli_driver.php[ 192 ]

187 	}
188 	public function getErrno() {
189 		return ($this->_link) ? mysqli_errno ( $this->_link ) : mysqli_errno ();
190 	}
191 	public function halt($message = '', $sql = '') {
192 		throw new keke_exception ( ':error [ :query ]', array (':error' => mysql_error ( $this->_link ), ':query' => $sql ), mysql_errno ( $this->_link ) );
193 		exit ();
194 	}
195 	public function special_filed(&$value) {
196 		if ('*' == $value || false !== strpos ( $value, '(' ) || false !== strpos ( $value, '.' ) || false !== strpos ( $value, '`' )) {
197 		} else {
  1. /usr/share/nginx/html/9yjd/index.php [ 3 ] » include ( arguments )

  2. /usr/share/nginx/html/9yjd/app_comm.php [ 3 ] » require ( arguments )

  3. /usr/share/nginx/html/9yjd/lib/inc/keke_core_class.php [ 1201 ] » kekezu::get_instance ( )

  4. /usr/share/nginx/html/9yjd/lib/inc/keke_core_class.php [ 895 ] » kekezu->__construct ( )

  5. /usr/share/nginx/html/9yjd/lib/inc/keke_core_class.php [ 900 ] » kekezu->init ( )

  6. /usr/share/nginx/html/9yjd/lib/inc/keke_core_class.php [ 922 ] » kekezu->init_industry ( )

  7. /usr/share/nginx/html/9yjd/lib/inc/keke_core_class.php [ 1039 ] » db_factory::query ( arguments )

  8. /usr/share/nginx/html/9yjd/lib/db/db_factory.php [ 111 ] » keke_db->query ( arguments )

  9. /usr/share/nginx/html/9yjd/lib/db/db_factory.php [ 81 ] » mysqli_drver->query ( arguments )

  10. /usr/share/nginx/html/9yjd/lib/db/mysqli_driver.php [ 32 ] » mysqli_drver->execute_sql ( arguments )

  11. /usr/share/nginx/html/9yjd/lib/db/mysqli_driver.php [ 158 ] » mysqli_drver->halt ( arguments )

  12. /usr/share/nginx/html/9yjd/lib/db/mysqli_driver.php [ 192 ] » mysql_error ( arguments )

  13. PHP internal call » keke_core_class::error_handler ( arguments )

Environment