• Resolved Bjarne Oldrup

    (@oldrup)


    Found a few more PHP 8.2 deprecation notices, here’s how to reproduce:

    • Update to PHP 8.2
    • Enable WP_DEBUG
    • Upload image
    • Open the Media Library
    • Click on compression details for an image

    .. and you’ll get deprecation warnings like:

    Deprecated: basename(): Passing null to parameter #1 ($path) of type string is deprecated in /removed/wp-content/plugins/tiny-compress-images/src/views/compress-details.php on line 111

    Really, an edge case and not hindering the use of TinyPNG, but at some point it would probably need addressing.

    All the best!
    Bjarne

Viewing 1 replies (of 1 total)
  • Plugin Author Tinify

    (@tinify)

    Hi Bjarne,

    Well spotted! We fixed these issues and deployed an update. Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘Deprecated: basename(): Passing null to parameter #1 ($path) of type string’ is closed to new replies.