In my case, fixing order edits was fixed by making sure the config.php URLs were HTTPS everywhere.
However the error still occurred when viewing an order.
Looking in the order table, I could see the store URL was still HTTP, but adjusting this fixed the issue.
To run it on all orders, I ran this:
Code: Select all
UPDATE `dbname`.`oc_order` SET `store_url` = 'https://www.mydomain.co.uk/' WHERE `oc_order`.`store_url` = 'http://www.mydomain.co.uk/';