I Want Help For Making Cart System

I have created this cart system, the product is getting added in it but when removed it gives an error.Below are all the blocks or even the screenshot of the error.




Please Help Me To Solve This Problem.

This error means the list is empty, you are trying to remove an item from empty list. Drop a list picker and check your list, the list is empty.

The list is not empty because the data of the list is showing, see the screenshot