Lỗi hiển thị như này:
Declaration of WP_Import::bump_request_timeout() should be compatible with WP_Importer::bump_request_timeout($val) in xxxxx\wp-content\plugins\wordpress-importer\wordpress-importer.php on line 38
Cách sửa:
- Mở file "wordpress-importer.php"
Tìm đến dòng 1110:
+ Sửa:
function bump_request_timeout() {
+ Thành:
function bump_request_timeout( $val ) {
- Mở file "parsers.php"
Tìm đến dòng 404:
+ Sửa:
function WXR_Parser_Regex() {
$this->__construct();
}
function __construct() {
$this->has_gzip = is_callable( 'gzopen' );
}
+ Thành:
function __construct() {
$this->has_gzip = is_callable( 'gzopen' );
}
function WXR_Parser_Regex() {
$this->__construct();
}
Xem thêm ảnh:
Không có nhận xét nào:
Write nhận xét