Troubleshooting Common WordPress Multisite Upgrade and Image Display Issues
Content
Upgrading a WordPress Multisite network can sometimes lead to unexpected problems, leaving site administrators searching for solutions. Based on community reports, two of the most frequent issues are images failing to display after an upgrade and persistent upgrade network loops. This guide explains why these problems occur and provides steps to resolve them.
Problem 1: Images Not Displaying After Upgrade (Especially to 6.8)
Why This Happens: A known issue with WordPress 6.8 affected some older Multisite installations. The problem often manifests as empty image placeholders in the media library and on the front end, even though the image files are present on the server. Error messages may mention functions like wp_is_block_theme being called incorrectly.
Common Solutions:
- Check for a Patch: The WordPress core team is typically quick to address widespread bugs. Check the official WordPress development blog or the support forums to see if a point release (e.g., 6.8.1) has been issued to fix this specific problem. Upgrading to the latest version is often the simplest solution.
- Debug for Clues: Enable WordPress debugging by adding these lines to your
wp-config.phpfile. This may reveal more specific error messages related to the image function calls.define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); // Logs errors to wp-content/debug.log define( 'WP_DEBUG_DISPLAY', false ); // Prevents errors from being printed on screen - Review File Permissions: Ensure your file and directory permissions are correct (usually 644 for files, 755 for directories). Incorrect permissions can prevent WordPress from reading or generating image files correctly.
Problem 2: The Endless "Upgrade Network" Loop
Why This Happens: After a core update, you may be prompted to "Upgrade Network." This process updates the database for all sites in your network. However, the process can get stuck in a loop, repeatedly asking you to upgrade. This is frequently caused by server timeouts (504 Gateway errors) during the lengthy process of updating many subsites, or by inconsistencies in the database records for individual sites (e.g., mismatched siteurl or home values in the wp_[site_id]_options tables).
Common Solutions:
- Investigate Server Timeouts: A 504 error is a server-level issue. Contact your hosting provider and ask them to investigate timeout settings for PHP scripts and database connections. You can also request increased limits specifically for the upgrade process.
- Check Site URLs in the Database: Manually inspect the
siteurlandhomevalues for subsites in their respectivewp_optionstables (e.g.,wp_2_options). Look for and correct common inconsistencies like mixinghttp://andhttps://, or typos in the domain name. - Run the Upgrade for a Single Site: You can often force the upgrade for a stubborn site by visiting its specific database upgrade URL directly:
https://yoursite.com/subsite/wp-admin/upgrade.php.
General Multisite Upgrade Best Practices
- Always Back Up First: Always create a complete backup of your files and database before starting any upgrade.
- Deactivate Plugins: As seen in multiple threads, network-deactivating all plugins before upgrading can prevent many conflicts and fatal errors.
- Update in a Staging Environment: If possible, test the entire upgrade process on a staging copy of your live site first. This allows you to identify and fix problems without affecting your users.
If you continue to experience issues, the WordPress support forums are an excellent resource for getting help from the wider community who may have encountered the same specific setup or error.
Related Support Threads Support
-
Updating Multisite to 5.6 got too many redirectshttps://wordpress.org/support/topic/updating-multisite-to-5-6-got-too-many-redirects/
-
Multisite file URLs broken after updatehttps://wordpress.org/support/topic/multisite-file-urls-broken-after-update/
-
Invalid files on the sitehttps://wordpress.org/support/topic/invalid-files-on-the-site/
-
5.4.1 upgrade network failshttps://wordpress.org/support/topic/5-4-1-upgrade-network-fails/
-
WordPress 6.8 multisite update causes images to not display!https://wordpress.org/support/topic/wordpress-6-8-update-causes-images-to-not-display/
-
Child site not updating correctlyhttps://wordpress.org/support/topic/child-site-not-updating-correctly/
-
Known issues with 6.8 ?https://wordpress.org/support/topic/known-issues-with-6-8/
-
I can’t reach settings for the different siteshttps://wordpress.org/support/topic/i-cant-reach-settings-for-the-different-sites/
-
Upgrade Network…again and againhttps://wordpress.org/support/topic/upgrade-network-again-and-again/
-
Wontok mutlisitehttps://wordpress.org/support/topic/wontok-mutlisite/
-
Default multisite install “The link you followed has expired”https://wordpress.org/support/topic/default-multisite-install-the-link-you-followed-has-expired/
-
Cache issues after enabling and disabling cloudflare on-premiseshttps://wordpress.org/support/topic/cache-issues-after-enabling-and-disabling-cloudflare-on-premises/
-
Multisite Adds Sites, but themes and plugins are brokenhttps://wordpress.org/support/topic/multisite-adds-sites-but-themes-and-plugins-are-broken/
-
Multisite disconnected from corehttps://wordpress.org/support/topic/multisite-disconnected-from-core/
-
Broken multisite after failed upgrade and restorehttps://wordpress.org/support/topic/broken-multisite-after-failed-upgrade-and-restore/
-
I cant install plugins or themes in multisitehttps://wordpress.org/support/topic/i-cant-install-plugins-or-themes-in-multisite/
-
Network and plugins missing after upgrading new WP versionhttps://wordpress.org/support/topic/network-and-plugins-missing-after-upgrading-new-wp-version/
-
[SOSSS] I deleted all the files in my tmp folder and WP are brokenhttps://wordpress.org/support/topic/help-i-deleted-all-the-files-in-my-tmp-folder-and-wp-are-broken/
-
Images problem after upgrade multisite to 6.8 all over network except root sitehttps://wordpress.org/support/topic/images-problem-after-upgrade-to-6-8-all-over-network-except-root-site/
-
How to upgrade WP Multisite from 4.1 to 5.7 ?https://wordpress.org/support/topic/how-to-upgrade-wp-multisite-from-4-1-to-5-7/
-
plugins stuck after changing wp-config filehttps://wordpress.org/support/topic/plugins-stuck-after-changing-wp-config-file/
-
which port needs to open for automatically upgrade?https://wordpress.org/support/topic/which-port-needs-to-open-for-automatically-upgrade/
-
Strange files with many .json-docs in wp-contenthttps://wordpress.org/support/topic/strange-files-with-many-json-docs-in-wp-content/
-
Blank widgets page after core update – which files to purge cache?https://wordpress.org/support/topic/blank-widgets-page-after-core-update-which-files-to-purge-cache/
-
“Error establishing a database connection” oftenhttps://wordpress.org/support/topic/error-establishing-a-database-connection-often/
-
White (blank) pages on siteshttps://wordpress.org/support/topic/white-blank-pages-on-sites/
-
HTTP ERROR 500https://wordpress.org/support/topic/http-error-500-221/
-
restore some settings lost after a bakcuphttps://wordpress.org/support/topic/restore-some-settings-lost-after-a-bakcup/
-
Updating WordPress 6.5.2 Issuehttps://wordpress.org/support/topic/updating-wordpress-6-5-2-issue/
-
ERR_TOO_MANY_REDIRECTS after activating multi siteshttps://wordpress.org/support/topic/err_too_many_redirects-after-activating-multi-sites/
-
6.8 upgrade image issue with old multisite installationshttps://wordpress.org/support/topic/6-8-upgrade-image-issue/
-
All my locally activated plugins are randomly deactivating on multisite siteshttps://wordpress.org/support/topic/all-my-locally-activated-plugins-are-randomly-deactivating-on-multisite-sites/
-
Cannot add new subdirectory sites since 6.4.3https://wordpress.org/support/topic/cannot-add-new-subdirectory-sites-since-6-4-3/