Hi Joachim,
Thanks for responding so quickly, much appreciated!
I did the following steps.
1. After installing and setting up WooCommerce, I registered in the front end as a customer and placed test orders which showed on the customer My Account Page under Recent Orders. I could then View these orders listed here by clicking on the View button. A end-point would load …/my-account/view-order/number/ showing the order details for each order created.
2. I then Installed and activated your plug-in. I had not created any access levels yet or done anything other than activate it.
3. I then realised that when clicking on the same View button again, the end-point would result in a WooCommerce Error message saying “Invalid Order” – so it looks like the end-point view order url is loading (so no blank page appears), just the WooCommerce error message instead of displaying the order.
4. As I mentioned previously, when I tried logging in as the admin to the My Account page for the admin account, I could actually view all the orders created as the admin correctly as per normal, so it looks like as though this issue is possibly only affecting the customer accounts?
Thanks again for your help.