Title: Plugin error
Last modified: June 5, 2019

---

# Plugin error

 *  Resolved [rrhobbs](https://wordpress.org/support/users/rrhobbs/)
 * (@rrhobbs)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-error-127/)
 * Installed / activated latest version [@6](https://wordpress.org/support/users/6/)/
   5/19. Attemptred to replace a media file:
 * > The site is experiencing technical difficulties. Please check your site admin
   > email inbox for instructions.
 * > WordPress caught an error with one of your plugins, Enable Media Replace.
 * > First, visit your website ([https://…/](https://…/)) and check for any visible
   > issues. Next, visit the page where the error was caught ([https://…/wp-admin/upload.php?page=enable-media-replace%2Fenable-media-replace.php&noheader=true&action=media_replace_upload&attachment_id=21009&_wpnonce=5d861b31c8](https://…/wp-admin/upload.php?page=enable-media-replace%2Fenable-media-replace.php&noheader=true&action=media_replace_upload&attachment_id=21009&_wpnonce=5d861b31c8))
   > and check for any visible issues.
 * When visit [https://…/wp-admin/upload.php?page=enable-media-replace%2Fenable-media-replace.php&noheader=true&action=media_replace_upload&attachment_id=21009&_wpnonce=5d861b31c8](https://…/wp-admin/upload.php?page=enable-media-replace%2Fenable-media-replace.php&noheader=true&action=media_replace_upload&attachment_id=21009&_wpnonce=5d861b31c8)
   I get:
 * > You are not allowed to view this page
 * Plugin error does not seem to affect overall appearance or operation of site,
   however, for now have deactivated / deleted the plugin.
 * I deleted and replaced the file manually.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-error-127%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/plugin-error-127/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-error-127/page/2/?output_format=md)

 *  [Daniel Maier](https://wordpress.org/support/users/demaier/)
 * (@demaier)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-error-127/#post-11609265)
 * Hello,
 * I’m also having an error thrown when trying to replace a media file. I get the
   following:
 * > Error thrown
   > Class ‘EnableMediaReplace\WpeCommon’ not found
 * It seems your plugin is crashing with my hosting “WpeCommon” resource that lives
   in “/wp-content/mu-plugins/”. However, why is your plugin trying to access “/
   wp-content/mu-plugins/wpengine-common/”?
 * Thank you!
 *  [slaydone](https://wordpress.org/support/users/slaydone/)
 * (@slaydone)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-error-127/#post-11609392)
 * Hello,
 * I can not replace any media files now. We just updated the plugin about 30 minutes
   ago due to another bug that we had. Now I get this error message anytime I try
   to update a file:
 * This page isn’t working [website name] is currently unable to handle this request.
   
   HTTP ERROR 500
    -  This reply was modified 6 years, 11 months ago by [slaydone](https://wordpress.org/support/users/slaydone/).
 *  Plugin Author [ShortPixel](https://wordpress.org/support/users/shortpixel/)
 * (@shortpixel)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-error-127/#post-11611731)
 * Hello [@slaydone](https://wordpress.org/support/users/slaydone/) [@demaier](https://wordpress.org/support/users/demaier/)
   [@rrhobbs](https://wordpress.org/support/users/rrhobbs/) – thanks for letting
   us know about this issue, we’re looking into it and we’ll come with a fix ASAP.
 * In the meantime you can downgrade the EMR to the previous version.
 * Thank you for your support and patience,
    Alex
 *  [Daniel Maier](https://wordpress.org/support/users/demaier/)
 * (@demaier)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-error-127/#post-11611807)
 * Thank you!
 *  [jezzaz](https://wordpress.org/support/users/jezzaz/)
 * (@jezzaz)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-error-127/#post-11619616)
 * i am getting the same error message anytime i try to upload amn image
 *  Plugin Author [ShortPixel](https://wordpress.org/support/users/shortpixel/)
 * (@shortpixel)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-error-127/#post-11621417)
 * [@jezzaz](https://wordpress.org/support/users/jezzaz/) – you use the latest EMR
   plugin version, correct?
    Also, what error do you get?
 *  [tomason](https://wordpress.org/support/users/tomason/)
 * (@tomason)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-error-127/#post-11625143)
 * I’m also getting a similar error. Here are the error details I received in an
   automated email about the issue. I’m running version 3.3.0.
 * Error Details
    ============= An error of type E_ERROR was caused in line 100 
   of the file /nas/content/live/cozygrammar/wp-content/plugins/enable-media-replace/
   classes/cache.php. Error message: Uncaught Error: Class ‘EnableMediaReplace\WpeCommon’
   not found in /nas/content/live/cozygrammar/wp-content/plugins/enable-media-replace/
   classes/cache.php:100 Stack trace: #0 /nas/content/live/cozygrammar/wp-content/
   plugins/enable-media-replace/classes/cache.php(73): EnableMediaReplace\emrCache-
   >removeWpeCache() #1 /nas/content/live/cozygrammar/wp-content/plugins/enable-
   media-replace/classes/replacer.php(165): EnableMediaReplace\emrCache->flushCache(
   Array) #2 /nas/content/live/cozygrammar/wp-content/plugins/enable-media-replace/
   views/upload.php(291): EnableMediaReplace\Replacer->replaceWith(‘/tmp/phpl1B8mz’,‘
   punctuation-6-t…’) #3 /nas/content/live/cozygrammar/wp-content/plugins/enable-
   media-replace/classes/emr-plugin.php(86): require_once(‘/nas/content/li…’) #4[
   internal function]: EnableMediaReplace\EnableMediaReplacePlugin->route(”) #5 /
   nas/content/live/cozygrammar/wp-includes/class-wp-hook.php(286): call_user_func_array(
   Array, Array) #6 /nas/content/live/cozygrammar/wp-includes/class-wp-hook.php(
   310):
 * I so appreciate you looking into this. EMR has been one of my favorite plugins
   for years–so useful for managing images.
 *  [tneighbors](https://wordpress.org/support/users/tneighbors/)
 * (@tneighbors)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-error-127/#post-11627039)
 * Is everyone who is having this problem hosting on WpEngine? Thats where we are
   hosting and everyone is getting the same errors as well on multiple clients/servers.
 *  [Daniel Maier](https://wordpress.org/support/users/demaier/)
 * (@demaier)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-error-127/#post-11627044)
 * We are on WP Engine.
 *  [jezzaz](https://wordpress.org/support/users/jezzaz/)
 * (@jezzaz)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-error-127/#post-11627122)
 * I am on wpengine as well, running on PHP7.3, i downgraded to PHP7.2 but the same
   error code kept happening
 *  [tneighbors](https://wordpress.org/support/users/tneighbors/)
 * (@tneighbors)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-error-127/#post-11627173)
 * [@shortpixel](https://wordpress.org/support/users/shortpixel/) – If you would
   like a WpEngine hosting account to test on, let me know and Ill spin you up a
   site on our test account.
 *  [deadbug](https://wordpress.org/support/users/jbalmeo/)
 * (@jbalmeo)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-error-127/#post-11633670)
 * [@tneighbors](https://wordpress.org/support/users/tneighbors/) , I’m on wpengine
   as well. On one site I have “Enable Media Replace” version 3.3.0 and I get an
   error. On another site I have version 3.2.8 and it works fine. Must be the plugin?
 *  [gnarlsbailey](https://wordpress.org/support/users/gnarlsbailey/)
 * (@gnarlsbailey)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-error-127/#post-11635726)
 * I’m also seeing the same error and am on WP Engine as well.
 *  [Dan Stramer](https://wordpress.org/support/users/danstramer/)
 * (@danstramer)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-error-127/#post-11637891)
 * I’m on wpengine as well
 *  [mizmo70](https://wordpress.org/support/users/mizmo70/)
 * (@mizmo70)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/plugin-error-127/#post-11639231)
 * We are on WPengine also.
    Received same error as tomason but image was actually
   replaced.

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/plugin-error-127/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-error-127/page/2/?output_format=md)

The topic ‘Plugin error’ 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/)

 * 24 replies
 * 14 participants
 * Last reply from: [ShortPixel](https://wordpress.org/support/users/shortpixel/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/plugin-error-127/page/2/#post-11680968)
 * Status: resolved