• Resolved loxlie

    (@loxlie)


    In Postman/Postman-Mail/libs/vendor_prefixed/google/apiclient/src/Http/REST.php line 49, \get_class() is called without arguments inside a static method. This triggers a PHP 8.1+ deprecation notice (E_DEPRECATED). The fix is to replace \get_class() with self::class, which is the correct PHP 8 idiom for referencing the current class in a static context.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support M Aqib Khan

    (@aqibkhan9)

    Hi @loxlie ,

    Thank you for highlighting this and for the clear explanation.

    We’ve forwarded this to our technical team for review and appropriate handling in upcoming updates.

    Really appreciate you bringing this to our attention.

    Plugin Support M Aqib Khan

    (@aqibkhan9)

    Hi @loxlie ,

    Thanks for your paitence.

    I checked in with our developers and it looks like this is an issue they are aware of. However, it’s not an issue we’re able to resolve as it is coming from a vendor library. Basically, the vendor has to update the library to address this.

    That said, the error is a deprecation notice and won’t cause any issues with the functionality.

    I hope that help! Have a great day!

    Thread Starter loxlie

    (@loxlie)

    Hi

    Sorry to be pedantic but the vendor (Google) fixed it in 2023:

    https://github.com/googleapis/google-api-php-client/commit/8c6602119b631e1a9da4dbe219af18d51c8dab8e

    Best wishes

    Plugin Support M Aqib Khan

    (@aqibkhan9)

    Hey @loxlie,

    Thanks for sharing this with us. Our team has updated the library accordingly.

    You can now download the beta version of the plugin and test it on your end.

    Please do share your feedback once you’ve had a chance to try it. We’d really appreciate it.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.