Fatal error when creating new order
-
Dear developers,
When creating a new order, a fatal error is shown in the Attachment-section, because PHP refers to an order ID that doesn’t exist (since we’re creating a new order).
As a hot-fix I added this below line 13 in
/wp-content/plugins/woo-product-attachment/admin/partials
:if(empty($order_id)) {
echo 'N/A';
return;
}Could you add a fix in the next update, so we don’t have to change the code again after updating?
Thank you in advance!
Kind regards,
Thijs TerluinThe page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fatal error when creating new order’ is closed to new replies.