Since you mentioned that this is only happening on certain environments then a possible cause could be that those servers do not have the proper PHP extensions installed to handle parsing XML.
Here’s a great Stack Exchange answer that outlines most (if not all) of the required extensions.
Specifically, I would confirm whether or not SimpleXML and XML Parser are installed and functioning properly. Maybe use a phpinfo plugin to check that quickly.
Related Posts:
- Using transients in conjunction with memcached
- Will it break my site if I delete all transient records in wp_options table?
- Long option names fail silently?
- Usage of Direct Database Call Without Caching Error
- Hook directly into query execution
- Delete transients in website
- Is using custom table to suit business needs instead of transients a big hit to page load speed?
- WordPress returns to an old version
- cache specific data?
- How to prevent/delay MySQL connections when an object cache is used?
- Using Transients
- Should I store critical css in the database or in my theme’s filesystem?
- content disappearing minutes after it’s published
- Website displays old version of page
- Storing transients giving database error
- How to get a list of articles related to a particular category from my other WordPress website?
- WP 5.5, child themes, customizer and a weird cache issue
- set_transient fails if the value has more than 60.000 characters
- Improving wpdb queries with large data
- Weird characters in title if it contain “ ”
- What is this JavaScript “require”?
- How can I make updates to a site, on a development copy, but then move updates back without overriding live site’s evolving database?
- get_results using wpdb
- How can I make a WordPress database portable and url independent?
- wpdb->insert multiple record at once
- How to migrate a HTTPS WordPress installation to localhost?
- How to monitor server for error establishing a database connection
- Default WordPress settings API data sanitization
- WordPress transients for a shortcode
- Fatal error: Call to undefined function dbDelta()
- Connect to remote database using Localhost install
- remove missing image attachments
- Transient RSS feeds in wp_options not removed automatically?
- Best way to move live site local
- The revisions table in my database is at 70% capacity and growing. What should I do?
- How to ensure data consistency in WordPress
- Database location in WordPress
- WooCommerce with thousands of products – site is very slow – optimize db queries? [closed]
- Transients vs CRON +Custom Fields: Caching Data Per Post
- How to display data from custom table in wordpress database?
- How to intercept update_option() before it saves data?
- Change SQL get_results to search for posts with custom term in custom taxonomy
- wpdb query on custom table not working [closed]
- How to diagnose and keep in check encoding issues?
- Add search Value to wp_list_table pagination
- stdObject stored in database. How does one convert it to usable format?
- Transient caching for wp query
- I have a table I created, how do I make a form for a user to filter the data?
- How to fix unchanged URLs in Database after running serialized search and replace script?
- wp_redirection_404 table has grown to 7GB
- WordPress database error – Error in SQL syntax – I can’t identify any error?
- Saving into post_excerpt or post_content
- Maintain user profile data in a non-WordPress database
- How to fix the disappearance of the “\” character when updating a post in the database
- How to scan barcode and store data into a database [closed]
- How can I push local database changes to production, without impacting recent posts/pages that were published on production server?
- Setup private content for specific users with daily updates [closed]
- Connection refused on locahost after importing database?
- When to use custom DB tables or add_option?
- creating new field on mysql
- Does WordPress store the username as a primary key in the database?
- WSOD 3.9.1 – Tried Everything so far
- Database Update Required – Update from command-line
- Sending posts from Python to WordPress
- Problem migrating to localhost
- SQL query to set posts in bulk based on the post content
- Automate WordPress website setup with prefilled data
- Custom search query by category id
- How do you render posts from outside wordpress?
- Image link issues after importing a database backup to my local web server
- Second ezSQL initialization for MSSQL
- Fetch a single row from a custom table for to a given ID
- Database create or redirect
- Database structure cheatsheet
- White Screen in Home Page
- WordPress Database – wp_usermeta and the correct number of session_tokens rows
- How to escape percentage sign(%) in sql query with $wpdb->prepare?
- WordPress has been updated! Before we send you on your way, we have to update your database to the newest version
- Malware in old website – how to migrate?
- A WP dev site that displays content from a live site’s database but cannot write to wp_posts?
- error establishing database connection (WAMP + filezilla)
- Is there a way for two deferent themes to consume two different DB on a same WP instance?
- How do I update a WordPress wp_postmeta meta_value that contains many options
- Is it possible to restore an expired transient?
- How can I get $wpdb to show MySQL warnings?
- How to display $wpdb->insert_id; value on redirected page
- Should I Use only wpdb Class to Write Custom Queries?
- Auto populate form fields based on serial input or pull listings from other websites?
- How to extract some part of WordPress full source code
- Error establishing a database connection for some files
- Hash user emails in database?
- DB access blocked when initializing WP externally
- Saving data to database and exporting to excel
- Site does not work right, pages not showing up, even for root admin
- One information repeated on multiple locations on one site [closed]
- WordPress: Interact with Database Query Data and Login
- Showing Error(TAble already exist)
- Getting an error when trying to migrate to DV server from Grid with Media Temple [closed]
- WP Multisite Users Not Linking
- Query a meta key using an array of values where the database value is a string