• When our orders statuses are changed from processing to complete it generates the following in the log file. Although it doesn’t seem to cause an issue but our log file is completely clean other than this.

    PHP Warning: Undefined variable $orders in /app/web/app/plugins/woocommerce-sendinblue-newsletter-subscription/src/managers/api-manager.php on line 14

    We’re using the latest version of the Brevo plugin and WC 9.6.x

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Daniel Harper

    (@danhrpr)

    Just to add, the order status change is being triggered through the an api.

    It’s an order system that’s changing the order status not a user.

    Plugin Author Pritesh Kumar

    (@prikuma)

    Hi @danhrpr , Thanks for sharing.
    Just to add, the order status change is being triggered through the an api.
    We will verify it. FYI, the plugin relies on default WooCommerce order related hooks.
    Since, in the above case order status is being changed using an api, it can be that the hooks doesn’t have proper data. We will look further into it and get back to you in case we need more details.

    Regards,
    Pritesh Kr

    Thread Starter Daniel Harper

    (@danhrpr)

    I will double check how the order status is being changed in the order system plugin, perhaps they are changing it with their own custom API instead of the default Woo one.

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

The topic ‘Undefined variable $orders’ is closed to new replies.