After WooCommerce update an error is displayed on the order page

After the new WooCommerce 8.5.1. update we are getting an issue shown on the frontend (both as admin and as a normal user) which says: Warning: Undefined variable $show_downloads in /wp-content/plugins/woocommerce/templates/order/order-details.php on line 33

Steps to reproduce

Update to WooCommerce 8.5.1. and visit a WooCommerce related page, e.g. /account/vendor/orders/{order_id}/

Extra details

Sorry for the inconvenience, the bug is confirmed and we’ll fix this in the next Marketplace update, please use this temporary fix before the official release The PHP of the vendor’s order detail screen will appear after the order is completed - #16 by andrii


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.