• Resolved laoren

    (@laoren)


    I saw by chance a small bug. When I open the media library in list-mode, the query monitor shows for each item two warnings:

    Illegal string offset ‘original-size’
    wp-content/plugins/wp-optimize/includes/class-updraft-smush-manager.php:129
    Updraft_Smush_Manager->manage_media_custom_column()

    and

    Illegal string offset ‘smushed-size’
    wp-content/plugins/wp-optimize/includes/class-updraft-smush-manager.php:130
    Updraft_Smush_Manager->manage_media_custom_column()

    There are no warnings when I deactivate the plugin.
    WP version 5.8.2
    PHP 7.4
    WPO 3.2.1

    Maybe you can look inside.
    Everything else is fine. Thanks for this cool plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @laoren Thanks for reporting this, I’ll share the same with our developent team to further investigate on this and have it fixed in upcoming release.

    Thread Starter laoren

    (@laoren)

    Additional info
    I just figured out that the error only occurs, when I mark an image as already compressed by another plugin.
    Then the column WP-Optimize in the list view shows:
    The file was compressed to N/A using WP-Optimize
    Hope it’s helpful to reproduce the error.

    @laoren Thanks for sharing tha dditional information, it will help us to reproduce the issue further.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Illegal string offset’ is closed to new replies.