Undefined property error on php8.3
-
In the class-woocommerce-sensor.php on live 461 you’ve got the code:
‘OrderID’ => \esc_attr( $note->order_id ),
But the $note->order_id doesn’t contain the right property.
You’ve also got the $order in that method. So Changing it to:
‘OrderID’ => \esc_attr( $order->get_id() ),
should fix it.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.