For the first Error I suppose that swapping the order of the PHP5 and the old constructor in class WXR_Parser_Regex will help. (Maybe the old one could be removed if PHP4.x isn’t supported anymore with this plugin.)
parsers.php – Line 396 and following would be
class WXR_Parser_Regex {
var $authors = array();
var $posts = array();
var $categories = array();
var $tags = array();
var $terms = array();
var $base_url = '';
function __construct() {
$this->has_gzip = is_callable( 'gzopen' );
}
function WXR_Parser_Regex() {
$this->__construct();
}
For the second Error see my reply this topic.
Its easier. This error is already solved, but the patch isnt merged yet:
https://core.trac.wordpress.org/ticket/24373
I’m getting this with debug on…
Strict Standards: Redefining already defined constructor for class WXR_Parser_Regex in /Users/developer/Dropbox/Sandbox/public_html/branches/tags/4.0.0/wp-content/plugins/wordpress-importer/parsers.php on line 408
Strict Standards: Declaration of WP_Import::bump_request_timeout() should be compatible with WP_Importer::bump_request_timeout($val) in /Users/developer/Dropbox/Sandbox/public_html/branches/tags/4.0.0/wp-content/plugins/wordpress-importer/wordpress-importer.php on line 38
Warning: Cannot modify header information - headers already sent by (output started at /Users/developer/Dropbox/Sandbox/public_html/branches/tags/4.0.0/wp-content/plugins/wordpress-importer/parsers.php:408) in /Users/developer/Dropbox/Sandbox/public_html/branches/tags/4.0.0/wp-includes/option.php on line 750
Warning: Cannot modify header information - headers already sent by (output started at /Users/developer/Dropbox/Sandbox/public_html/branches/tags/4.0.0/wp-content/plugins/wordpress-importer/parsers.php:408) in /Users/developer/Dropbox/Sandbox/public_html/branches/tags/4.0.0/wp-includes/option.php on line 751
WP 4.0
PHP 5.5.10
MySQL 5.5.34
@rene How can I merge this patch?