Title: Enable media replace
Last modified: September 6, 2019

---

# Enable media replace

 *  Resolved [magthom](https://wordpress.org/support/users/magthom/)
 * (@magthom)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/enable-media-replace-2/)
 * I successfully used EMR once today and on the second upload got the error message:
   The site is experiencing technical difficulties. Please check your site admin
   email inbox for instructions. I then updated the plugin thinking that may be 
   the problem, but it is still not working.
 * These are the error details we were emailed:
    Error Details ============= An 
   error of type E_ERROR was caused in line 5688 of the file /nas/content/live/midlab/
   wp-content/themes/Divi/includes/builder/core.php. Error message: Uncaught Error:
   Call to undefined method ET_Core_Cache_File::set_cache_data() in /nas/content/
   live/midlab/wp-content/themes/Divi/includes/builder/core.php:5688 Stack trace:#
   0 [internal function]: et_filter_wp_generate_attachment_metadata(Array, 202) #
   1 /nas/content/live/midlab/wp-includes/class-wp-hook.php(286): call_user_func_array(‘
   et_filter_wp_ge…’, Array) #2 /nas/content/live/midlab/wp-includes/plugin.php(
   208): WP_Hook->apply_filters(Array, Array) #3 /nas/content/live/midlab/wp-admin/
   includes/image.php(306): apply_filters(‘wp_generate_att…’, Array, 202) #4 /nas/
   content/live/midlab/wp-content/plugins/enable-media-replace/classes/replacer.
   php(131): wp_generate_attachment_metadata(202, ‘/nas/content/li…’) #5 /nas/content/
   live/midlab/wp-content/plugins/enable-media-replace/views/upload.php(133): EnableMediaReplace\
   Replacer->replaceWith(‘/tmp/phpRjjrWP’, ‘Granular-Deodor…’) #6 /nas/content/live/
   midlab/wp-content/plugins/enable-media-replace/classes/emr-plugin.php(120): require_once(‘/
   nas/content/li…
 * Thank you very much.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fenable-media-replace-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [ShortPixel](https://wordpress.org/support/users/shortpixel/)
 * (@shortpixel)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/enable-media-replace-2/#post-11908313)
 * Hey [@magthom](https://wordpress.org/support/users/magthom/) – thanks for your
   message and for using EMR.
    From the message you sent me it looks like the error
   is related to your theme. Could you please change for a few minutes the theme
   and then try to reproduce the error?
 * I would appreciate your follow-up on this,
    Alex
 *  Thread Starter [magthom](https://wordpress.org/support/users/magthom/)
 * (@magthom)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/enable-media-replace-2/#post-11914152)
 * Hi Alex,
    Thanks so much for the response. I tried 3 or 4 replacements again 
   this morning and it is working. Not sure what may have been wrong, do you? Thank
   you again for the quick response. I really appreciate it!
 *  Plugin Author [ShortPixel](https://wordpress.org/support/users/shortpixel/)
 * (@shortpixel)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/enable-media-replace-2/#post-11920429)
 * Hello again [@magthom](https://wordpress.org/support/users/magthom/)!
 * From your description, I would guess the problem is related your hosting account
   resources being exhausted.
    When you face again the problem noted by you, could
   you maybe deactivate 2-3 of your plugins and then try to run again some tests
   to see if you can still reproduce the problem?
 * Thanks,
    Alex
 *  Thread Starter [magthom](https://wordpress.org/support/users/magthom/)
 * (@magthom)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/enable-media-replace-2/#post-11921479)
 * Thank you so much for your help.
 *  Plugin Author [ShortPixel](https://wordpress.org/support/users/shortpixel/)
 * (@shortpixel)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/enable-media-replace-2/#post-11924705)
 * You’re welcome! 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Enable media replace’ is closed to new replies.

 * ![](https://ps.w.org/enable-media-replace/assets/icon-256x256.png?rev=1940728)
 * [Enable Media Replace](https://wordpress.org/plugins/enable-media-replace/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/enable-media-replace/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/enable-media-replace/)
 * [Active Topics](https://wordpress.org/support/plugin/enable-media-replace/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/enable-media-replace/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/enable-media-replace/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [ShortPixel](https://wordpress.org/support/users/shortpixel/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/enable-media-replace-2/#post-11924705)
 * Status: resolved