Opened 4 years ago
Closed 4 years ago
#52292 closed defect (bug) (duplicate)
Cannot delete or add images to library after upgrade to WP 5.6 with Multi site
Reported by: | seniceguy | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Media | Keywords: | |
Focuses: | multisite | Cc: |
Description
We are having issues uploading image files and deleting image files. When we permanently delete a image the image is not deleted from the directories and shows in the library after logging out and then logging back in . We can not upload files the files get to 100 percent then hang we get the below error
Post-processing of the image failed likely because the server is busy or does not have enough resources. Uploading a smaller image may help. Suggested maximum size is 2500 pixels.
In PHP we get the below error
PHP Fatal error: Maximum execution time of 600 seconds exceeded in C:\webhost\wordpress\wp-includes\functions.php on line 7736
We have disabled all plugins and updated all themes
Our config is
windows 2016 Server
PHO 7.413
MySQL 8.0
WordPress 5.6 multi site
WordPress and temp directories have IUSR, IIS_IUSERS and network server added with full control
We rolled back our Multi site network to 5.5.3 this morning and everything is working , I believe the issues with uploading and deleting in 5.6 are related to the function $directory_cache that was added in 5.6
contact hardsog@… if needed
below is the section of the functions.php file where a upload or deletion gets stuck/hangs/loops indefinably.
}