Here is error i get when trying to replace a file
(I removed the exact url of my website for security reasons)
Warning: Invalid argument supplied for foreach() in
wp-content/plugins/enable-media-replace/upload.php on line 55
Warning: Cannot modify header information - headers already sent by (output started at wp-content/plugins/enable-media-replace/upload.php:55) in wp-includes/pluggable.php on line 876
Thank you for creating with WordPress.