• Hello @inpsyde
    when using your plugin I am seeing a php notice in our debug log, which states that a filter method (‘nonce_user_logged_out’) is in use which has been deprecated with an older WooCommerce version.
    Thus I am kindly requesting you to implement a simple fix in your code to prevent this notice from popping up, as it is cluttering my debug log. Following files in your plugin contain the affected code snippets:

    /home/wp/disk/wordpress/wp-content/plugins/woo-paypalplus/src/Nonce.php:            'nonce_user_logged_out'
    /home/wp/disk/wordpress/wp-content/plugins/woo-paypalplus/src/ExpressCheckoutGateway/AjaxHandler.php:        add_filter('nonce_user_logged_out', [wc()->session, 'nonce_user_logged_out']);

    Debug log excerpt:
    [13-Aug-2022 04:52:09 UTC] PHP Deprecated: Die Funktion WC_Session_Handler::nonce_user_logged_out ist seit Version?5.3 <strong>veraltet</strong>! Verwenden Sie stattdessen WC_Session_Handler::maybe_update_nonce_user_logged_out. in /home/wp/disk/wordpress/wp-includes/functions.php on line 5379

    Thanks a lot in advance!
    Saskia

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

    (@niklasinpsyde)

    Hi @jyria,

    Thank you for your suggestion.
    I’d like to first point out the PayPal Plus plugin is no longer in development and will be sunset around the end of Q3.

    PayPal Payments is the official successor and our primary suggestion in case you encounter any problems with the PayPal Plus plugin.
    The new integration provides the same features and more, compared to PayPal Plus.
    Additionally, it has better overall compatibility and support, which is still provided by our team.

    So I regret to tell you there will be no more PayPal Plus plugin updates, and the plugin will be removed from the www.ads-software.com plugin repository in the near future. Some basic features will continue to work after the removal. But we encourage everyone to switch to PayPal Payments as it has several interesting benefits.
    If nothing else, this deprecation warning at least shouldn’t be a problem with PayPal Payments.

    Kind regards,
    Niklas

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    We have not heard back from you in a while, so I’m marking this thread as resolved.
    Hopefully, you were able to proceed as advised above.
    If you have any further questions, please feel free to reopen this topic or create a new one.
    Thank you!

    Kind regards,
    Niklas

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP notice due to deprecated Woo php method’ is closed to new replies.