Title: Illegal string offset
Last modified: December 15, 2021

---

# Illegal string offset

 *  Resolved [laoren](https://wordpress.org/support/users/laoren/)
 * (@laoren)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/illegal-string-offset-61/)
 * 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)

 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/illegal-string-offset-61/#post-15164518)
 * [@laoren](https://wordpress.org/support/users/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](https://wordpress.org/support/users/laoren/)
 * (@laoren)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/illegal-string-offset-61/#post-15172002)
 * 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.
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/illegal-string-offset-61/#post-15172158)
 * [@laoren](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Harshad](https://wordpress.org/support/users/bornforphp/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/illegal-string-offset-61/#post-15172158)
 * Status: resolved