Title: Error msg in admin
Last modified: June 22, 2022

---

# Error msg in admin

 *  Resolved [ulrichnielsen](https://wordpress.org/support/users/ulrichnielsen/)
 * (@ulrichnielsen)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/error-msg-in-admin/)
 * Hi,
 * WP sent me the error msg below upon logging in to my site. The plugin doesn’t
   seem to be working right now, jpg fallback images are shown instead of webp.
 * WordPress version 6.0
    Current plugin: WebP Converter for Media (version 4.4.0)
   PHP version 7.4.10
 * An error of type E_ERROR was caused in line 56 of the file /web/…/wp-content/
   plugins/webp-converter-for-media/src/Conversion/OutputPath.php. Error message:
   Uncaught Error: Using $this when not in object context in /web/…/wp-content/plugins/
   webp-converter-for-media/src/Conversion/OutputPath.php:56
    Stack trace: #0 /web/…/
   wp-content/plugins/webp-converter-for-media/src/Action/DeletePaths.php(44): WebpConverter\
   Conversion\OutputPath::get_paths(‘/web/…’) #1 /web/…/wp-content/plugins/webp-
   converter-for-media/src/Action/DeletePaths.php(32): WebpConverter\Action\DeletePaths-
   >delete_file_by_path(‘/web/…’) #2 /web/…/wp-includes/class-wp-hook.php(307): 
   WebpConverter\Action\DeletePaths->delete_files_by_paths(Array) #3 /web/…/wp-includes/
   class-wp-hook.php(331): WP_Hook->apply_filters(”, Array) #4 /web/…/wp-includes/
   plugin.php(476): WP_Hook->do_action(Array) #5 /web/…/wp-content/plugins/webp-
   converter-for-media/src/Conversion/Media/Delete.php(28): do_action(‘webpc_delete_p
    -  This topic was modified 3 years, 11 months ago by [ulrichnielsen](https://wordpress.org/support/users/ulrichnielsen/).

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

 *  Plugin Author [Mateusz Gbiorczyk](https://wordpress.org/support/users/mateuszgbiorczyk/)
 * (@mateuszgbiorczyk)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/error-msg-in-admin/#post-15760842)
 * Hello [@ulrichnielsen](https://wordpress.org/support/users/ulrichnielsen/),
 * Thanks for your message.
 * Does this problem happen all the time or only once after a plugin update? Probably
   the problem is with the OP cache on your server. After updating the plugin, not
   all files were refreshed by the cache. This cache typically clears itself after
   60 seconds. This is due to your PHP configuration.
 * Best,
    Mateusz
 *  Thread Starter [ulrichnielsen](https://wordpress.org/support/users/ulrichnielsen/)
 * (@ulrichnielsen)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/error-msg-in-admin/#post-15865114)
 * Sorry, I missed your response, didn’t get a notification.
    Thanks for the info,
   it seems this error message is triggered whnever I update the plugin. Opcache
   is active on my hosting server indeed. It keeps the data for 2 minutes. I’m seeing
   the webp versions of the images, so it’s probably nothing to worry about. Thanks
   again!

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

The topic ‘Error msg in admin’ is closed to new replies.

 * ![](https://ps.w.org/webp-converter-for-media/assets/icon-256x256.png?rev=2636288)
 * [Converter for Media - Optimize images | Convert WebP & AVIF](https://wordpress.org/plugins/webp-converter-for-media/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/webp-converter-for-media/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/webp-converter-for-media/)
 * [Active Topics](https://wordpress.org/support/plugin/webp-converter-for-media/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/webp-converter-for-media/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/webp-converter-for-media/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [ulrichnielsen](https://wordpress.org/support/users/ulrichnielsen/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/error-msg-in-admin/#post-15865114)
 * Status: resolved