As you are using PHP 5.5+ versions, the old PHP 4 things will throw errors … of course. The error comes from – as you can read – the WordPress importer plugin, which is some kind of badly treated step child of WordPress.
plugins/wordpress-importer/wordpress-importer.php:38
One solution is to use our fork with fixes from wecodemore/GitHub, where you can add your patches as Pull requests. You can also pull it via Composer.
The other solution is to try the Humanmade rewrite on GitHub instead, tough I have no idea how final it is. I have filed a Pull request to get Composer support, but I guess it is unmaintained currently.
Related Posts:
- How to catch/what to do with a WP Error Object
- An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration
- What are the best practices for updating?
- How to eliminate weird 404 errors in wp-admin?
- How to get Login Error messages on a custom template
- PHP Deprecated: Non-static method should not be called statically
- Error: “Cannot modify header information”
- Plugin.php: PHP Notice: Undefined offset: 0 in
- check for the current screen
- Force plugin to fail activation
- An Unexpected HTTP Error occurred during the API request
- Dashboard Disappears after Upgrade
- Why Better WP security plugin returns 418 I’m a Teapot “error”?
- echo do_shortcode is not working on theme’s template
- How can I see the error generated by plugin activation?
- How to implement Sentry on WordPress? [closed]
- Can a plugin still effect a site even after deletion?
- Accessing GET variable named ‘error’
- Unable to install theme recommended plugins on Multisite
- Problem with wordpress version 3.8
- Call to undefined function get_userdata in user.php
- Only Homepage not loading properly
- Accidentally Broke Site (Please Help) [closed]
- Images not showing after changing wp-content folder name
- qTranslate conflicts with SEO-plugins [closed]
- CSV file generation failing
- How to redirect a URL with parameters?
- Problem using Press-this book marklet
- Python with wordpress plugin
- Nonce failing on form submission
- Uncaught TypeError: jQuery(…).flipster is not a function in wordpress
- WordPress site periodically goes down
- Deactivating all plugins and reactivating one by one, fixes conflicts. Why?
- Why do plugins deactivate by themselves?
- WordPress shows error related to allow_url_fopen
- AFNetworking incorrectly interpreted WP_Error
- Updated 4.3 Getting Error: Warning: call_user_func_array() expects parameter 1 to
- Why am I getting a “Call to undefined function curl_init()” when I try to use the Sociable plugin?
- after wordpress update to 3.5+ i get many errors in plugin wpdb::prepare()
- What’s causing this error? “Warning: Invalid argument”
- Can’t activate Plugin: unexpected T_STRING, expecting T_FUNCTION [closed]
- XML Sitemap Generator can’t notify google and bing
- React error #231with Custom Blocks after upgrade to WP 5.5
- UTF-32be error WordPress
- Elementor page builder plugin not loading up all the way? [closed]
- Getting error “Warning: mysql_query(): Can’t connect to local MySQL server through socket ‘FILEPATH/cccatalog-plugin.php on line 1656”
- Plugin showing error
- Classic, but puzzling “The uploaded file could not be moved”
- ‘Notice: Undefined index’ error on plugins page [closed]
- Problem after updating plugins
- Apparent errer when installing plugin
- Function Error after WP Upgrade to 3.9.1
- WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version [closed]
- Trying to get property of non-object wordpress error message
- Undefined index: ratings_score …/wp-postratings.php on line 994
- Error activating certain plugins
- All new plugins generating 311 chars of unexpected output?
- Stopping WordPress’ WYSIWYG Editor from Converting “didn’t” into “didn””””’t”?
- Error: call_user_func_array() expects parameter 1 to be a valid callback
- WordPress fatal error from php protocol codes
- Undefined offset: 0 in WordPress after latest version upgrade [closed]
- WP search box on page not finding .PDF files
- Changing wordpress/woocommerce notices default message to other languages (text)
- PHP Error message Upload images to remote server
- Elementor contact form doesn’t work: “Oops! I cannot send this email!”
- Installation failed: 504 – Gateway Timeout
- Critical Error after Updraft Restoration
- There has been a critical error on your website
- I can’t view the orders on the woocomerce dashboard with the brainblocks plugin
- ERROR message: “The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.”
- PDF Viewer Origin is Different
- Unable to activate themes on localhost
- Object of class WP_Error could not be converted to string in /formatting.php
- Cannot modify header information – headers already sent during plugin activation
- WordPress website dont load CSS, JS and images
- WordPress Dashboard shows no plugins installed!
- ClassLoader.php issues after moving to a new host
- WP default file upload hook not working if used in a plugin
- Warning: Illegal offset type in /var/www/html/wp-includes/option.php on line 1924
- How to validate field when create post
- Speed issues because of CSS & JavaScript
- A more elegant way to handle notices/warnings
- Plugin Installation Error
- A plugin is giving me “You do not have sufficient permissions to access this page.” error
- Restore Category Base
- WordPress 3.5 install error
- Is there a plugin that will override the “Error establishing a database connection” message? [closed]
- HTTP Error 403 When Trying to Login
- Why do I get this “peer’s certificate issuer not recognised” error when trying to install a theme?
- Fatal error with Ultimate Coupon plugin
- The plugin generated xxx characters of unexpected output during activation
- WordPress Customer Reviews Error: Line 239?
- WordPress Plugin: Demon Image Annotation
- WordPress Plugins Error
- Receiving error with Custom Tables plugin
- How to get an error message if a form is empty (plugin: Post for site) [closed]
- Console errors after WordPress Update 6.1
- WordPress error Fatal error: Uncaught TypeError: Argument 3 passed to Automattic :get_setting_for_feature() [closed]
- How can I resolve an error on WordPress after PHP update
- How can I disable a plugin in Health Check mode if there’s a critical error?