• Resolved ulrichnielsen

    (@ulrichnielsen)


    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 1 year, 10 months ago by ulrichnielsen.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hello @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

    (@ulrichnielsen)

    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.