• Hi,

    thank you for your great work. I would like to report an error:

    PHP Deprecated: ?Using ${var} in strings is deprecated, use {$var} instead plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php on line 1616.
    The same error is on lines: 1441, 1442,1457,1578,1585,1609,1616.

    Great regard,

    v.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @valesilve

    We are indeed aware of this PHP 8.2 deprecations. These lines relate to the Pay Later messaging render hooks.

    It’s important to note that deprecation notices, such as the one you’re encountering, generally do not cause operational problems, especially if front-end debugging is not enabled on your site. These notices are more informational, indicating that certain code practices should be updated in future versions for better compatibility and best practices.

    However, we want to assure you that the plugin is fully supported and has been thoroughly tested with PHP versions ranging from 7.2 to 8.1. While we haven’t completed extensive testing on PHP 8.2+, preliminary checks suggest that the plugin should operate correctly on these newer versions as well. Improving compatibility with PHP 8.2 is on our development roadmap, and we aim to address these deprecation notices in upcoming updates.

    Thank you for your feedback!

    In the meantime, if you encounter any functional issues or have further concerns, please do not hesitate to contact us.

    Kind regards,
    Krystian

    This notice is still in log files:

    PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in …docs/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-button/src/Assets/SmartButton.php on line 1450

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Deprecated Using ${var} in strings is deprecated, use {$var} instead’ is closed to new replies.