• Paul

    (@headwall)


    Hi

    The file woocommerce-services/classes/class-wc-connect-functions.php is missing a declaration for $helper_auth_data so we’re seeing the following error come through on our cron reports:

    Undefined variable $helper_auth_data in /web/wp-content/plugins/woocommerce-services/classes/class-wc-connect-functions.php on line 36

    Can you initialise the variable before trying to reference it please?

    Paul

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Frank Remmy (woo-hc)

    (@frankremmy)

    Hi Paul,

    Thanks for flagging this and for taking the time to report it.

    I was able to reproduce and confirm the behavior across both versions 3.6.3 and 3.6.2. It looks like $helper_auth_data should be initialized before it’s referenced on line 36 of class-wc-connect-functions.php, which explains the PHP warning.

    I’m going to share this internally with the developers so they can check whether this is already tracked in Linear or needs logging. I’ll circle back here once I have an update. Hang in there

    Plugin Support Frank Remmy (woo-hc)

    (@frankremmy)

    Hi again @headwall,

    Just giving you an update on how things are going. We’re yet to receive one but once we do, we’ll notify you.

    Hang in there.

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

You must be logged in to reply to this topic.