• Resolved titsmaker

    (@titsmaker)


    Following notice often appears in my log after I started using Facebook for Woocommerce plugin.
    The WC_Session_Handler::nonce_user_logged_out function is deprecated since version 5.3. Replace with WC_Session_Handler::maybe_update_nonce_user_logged_out.

    It seems this was reported in the past and there’s even a closed issue on github (https://github.com/woocommerce/facebook-for-woocommerce/issues/1966) but the problem still exists.
    Quick search through plugin’s files revealed that the nonce_user_logged_out function is used in BackgroundJobHandler.php

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @titsmaker

    Thanks for reaching out!

    I understand that you are receiving the warning message above when using the Facebook for WooCommerce plugin, correct?

    I’d like to understand your site properly, please share your System Status Report that you can find via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    If you could also provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Thanks!

    Thread Starter titsmaker

    (@titsmaker)

    Sorry, but I don’t like the idea of sharing such sensitive information here. To be honest I don’t understood the need for this information as the problem is rather clear considering the outdated nonce_user_logged_out?function is in your code.

    Saif

    (@babylon1999)

    Hello @titsmaker,

    Sorry, but I don’t like the idea of sharing such sensitive information here. To be honest I don’t understood the need for this information as the problem is rather clear considering the outdated nonce_user_logged_out?function is in your code.

    The system status report doesn’t have any sensitive information other than the site URL which you are more than welcome to remove. If it did have sensitive information, we wouldn’t be asking for it in a public thread. ??

    You also don’t need to post it here, you can upload it Gist and delete it once we’re done with it.

    Look forward to hearing back from you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘The WC_Session_Handler::nonce_user_logged_out function is deprecated’ is closed to new replies.