• Resolved Bjarne Oldrup

    (@oldrup)


    Hey folks

    Thank you for a fine plugin.

    Testing with PHP 8.2, the plugin appears to raise the following deprecation warning:

    Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/example.net/wp-content/plugins/tiny-compress-images/src/vendor/tinify/Tinify/Client.php on line 31

    Not critical, PHP 8.1 is supported for the time to come, but now you know! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tinify

    (@tinify)

    Hi Bjarne,

    Thanks for the heads up, we will address this issue somewhere in the future, as it’s not a critical issue right now.

    Happy compressing!

    Thread Starter Bjarne Oldrup

    (@oldrup)

    Great! Thank you!

    Plugin Author TinyPNG

    (@tinypng)

    Hi Bjarne,

    We have removed the deprecated PHP syntax in our latest version (3.4.2) so after updating you won’t see the message anymore.

    Again thanks for your message. Happy compressing!

    entigram

    (@entigram)

    hello

    how can i solve the same issue

    Plugin Author TinyPNG

    (@tinypng)

    Hi @entigram,

    We have released a new version of the plugin (3.4.3) that should solve all the deprecation warning thrown by PHP 8.2. Did you update to the latest version of the plugin already?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Deprecated: Using ${var} in strings is deprecated (PHP 8.2 testing)’ is closed to new replies.