Title: Fatal error when replacing media
Last modified: June 8, 2026

---

# Fatal error when replacing media

 *  [Heather](https://wordpress.org/support/users/ukheather/)
 * (@ukheather)
 * [6 days, 16 hours ago](https://wordpress.org/support/topic/fatal-error-when-replacing-media-3/)
 * I went to replace a image using your plugin (which I have used many times over
   the years) and it gave a fatal error
 * **Fatal error**: Uncaught Error: Call to a member function exists() on false 
   in 
 * It is a huge error that clearly points to your plugin, the entire error message
   is just pointing to this plugin.
 * No other issues with my site or any other plugin. I have tried deactivating other
   plugins and trying again, same issue. Only happens with this plugin when I replace
   media.
 * I have the latest version of wordpress and the plugin, and am on PHP 8.3 (I cannot
   change version).
    -  This topic was modified 6 days, 16 hours ago by [Heather](https://wordpress.org/support/users/ukheather/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-when-replacing-media-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Adrian](https://wordpress.org/support/users/adrianrus/)
 * (@adrianrus)
 * [6 days, 13 hours ago](https://wordpress.org/support/topic/fatal-error-when-replacing-media-3/#post-18932620)
 * Hi [@ukheather](https://wordpress.org/support/users/ukheather/) ,
 * Thank you for your message and sorry to hear about this issue 🙁
 * Could you please attach the full error message here or a screenshot of the error?
   It’s very unusual as we didn’t have other customers reporting such issues and
   the latest tests went fine even with PHP 8.5
 * Looking forward to your reply so we can check this for you!
 * All the best,
 *  Thread Starter [Heather](https://wordpress.org/support/users/ukheather/)
 * (@ukheather)
 * [6 days, 13 hours ago](https://wordpress.org/support/topic/fatal-error-when-replacing-media-3/#post-18932649)
 * Photo of error
 * [https://ibb.co/PGhZ4vvF](https://ibb.co/PGhZ4vvF)
 * It doesn’t seem to upload here, so had to post a link.
 * ![](https://ibb.co/PGhZ4vvF)
 *  Plugin Support [Adrian](https://wordpress.org/support/users/adrianrus/)
 * (@adrianrus)
 * [5 days, 23 hours ago](https://wordpress.org/support/topic/fatal-error-when-replacing-media-3/#post-18933055)
 * Hi again, [@ukheather](https://wordpress.org/support/users/ukheather/) ,
 * We’re checking this in more detail and will get back to you as soon as possible!
 * All the best,
 *  Thread Starter [Heather](https://wordpress.org/support/users/ukheather/)
 * (@ukheather)
 * [5 days, 21 hours ago](https://wordpress.org/support/topic/fatal-error-when-replacing-media-3/#post-18933209)
 * ok thank you.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-when-replacing-media-3%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](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/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 4 replies
 * 2 participants
 * Last reply from: [Heather](https://wordpress.org/support/users/ukheather/)
 * Last activity: [5 days, 21 hours ago](https://wordpress.org/support/topic/fatal-error-when-replacing-media-3/#post-18933209)
 * Status: not resolved