I am using Woocommerce Subscription extension, and I would like to display the current subscription orders located in the my-subscriptions.php template on the orders.php template (normal woocommerce template).
When I copy the code over, I get the message of "Undefined variable: subscriptions".
How do I get round this?
EDIT: My files are as follows :
Orders.php - https://pastebin.com/0fxgAjyp
my-subscriptions.php - https://pastebin.com/XhbWEBSp