1890行/var/www/vhosts/sahinucar.com.tr/httpdocs/wp-includes/wp-db.php

时间:2018-05-16 04:14:00

标签: wordpress

我的网站无法正常使用。我收到此错误: 1890行/var/www/vhosts/xyz.com.tr/httpdocs/wp-includes/wp-db.php 以下是这些行的代码。这段代码中出现错误的问题是什么?

        // Return number of rows affected
        $return_val = $this->rows_affected;
    } else {
        $num_rows = 0;
        if ( $this->use_mysqli && $this->result instanceof mysqli_result ) {
            **while ( $row = mysqli_fetch_object( $this->result ) ) {
                $this->last_result[$num_rows] = $row;
                $num_rows++;**
            }
        } elseif ( is_resource( $this->result ) ) {
            while ( $row = mysql_fetch_object( $this->result ) ) {
                $this->last_result[$num_rows] = $row;
                $num_rows++;
            }
        } 

        // Log number of rows the query returned
        // and return number of rows selected
        $this->num_rows = $num_rows;
        $return_val     = $num_rows;
    }

    return $return_val;
}

/**

0 个答案:

没有答案