Hi
We are using
- Joomla 4.4.1
- PHP 8.1
- EasyStore 1.0.7
- SPPB pro 5.2.4
- Helix Ultimate
If we do delete a product that will not be used anymore or delete and re-create, when customer access the shopping cart and go to "my orders", the following error will be displayed and no access to "my orders" from web page:
Error 0 Attempt to assign property "image" on null
If deleting the order that has product that does not exist (cause deleted) then it can be access.
Is normal that in a shop online some products dissapear, so should be able to show the Orders without image at least instead breaking it. Please check.
Steps
- Create order.
- Go to orders in frontend, orders will be displayed Ok
- Delete product
- Go to "my orders" from frontend, error will appear and no page will be shown.
- Create similar product or same product (will have another ID), same problem
- Delete the order in administrator backend with the product without image.
- Orders will be shown.
Best Regards