Title: PHP Warning &#8211; php81
Last modified: November 14, 2025

---

# PHP Warning – php81

 *  Resolved [raha1988ab](https://wordpress.org/support/users/raha1988ab/)
 * (@raha1988ab)
 * [6 months, 2 weeks ago](https://wordpress.org/support/topic/php-warning-php81/)
 * Hi
 * I see lots of this type of error in my error_log file.
 * [14-Nov-2025 17:23:13 UTC] PHP Warning: Trying to access array offset on value
   of type bool in /home/mainproject/public_html/wp-content/plugins/tiny-compress-
   images/src/class-tiny-image.php on line 76 [14-Nov-2025 17:23:13 UTC] PHP Warning:
   Trying to access array offset on value of type bool in /home/mainproject/public_html/
   wp-content/plugins/tiny-compress-images/src/class-tiny-image.php on line 113
 * Thank you

Viewing 1 replies (of 1 total)

 *  Plugin Author [TinyPNG](https://wordpress.org/support/users/tinypng/)
 * (@tinypng)
 * [6 months, 1 week ago](https://wordpress.org/support/topic/php-warning-php81/#post-18723990)
 * Hi there!
 * Thanks for reaching out and sharing the warning message. These notices appear
   when the plugin receives invalid or unexpected attachment metadata. In most cases,
   because another plugin is altering the output of the wp_get_attachment_metadata
   filter and returning something other than the expected array. It’s worth checking
   your other plugins (especially anything media-related) to see if one of them 
   is modifying this metadata.
 * That said, we have an update coming in version 3.6.4 that adds extra defensive
   checks to prevent this warning from appearing, even if another plugin returns
   invalid data.

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning – php81’ is closed to new replies.

 * ![](https://ps.w.org/tiny-compress-images/assets/icon-256x256.png?rev=3448487)
 * [TinyPNG - JPEG, PNG & WebP image compression](https://wordpress.org/plugins/tiny-compress-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tiny-compress-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tiny-compress-images/)
 * [Active Topics](https://wordpress.org/support/plugin/tiny-compress-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tiny-compress-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tiny-compress-images/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [TinyPNG](https://wordpress.org/support/users/tinypng/)
 * Last activity: [6 months, 1 week ago](https://wordpress.org/support/topic/php-warning-php81/#post-18723990)
 * Status: resolved