Problem with empty inventory, but not allowing to pick up items

Again I’m having problems using the filter and it generates the error saying that the inventory is full, when it is empty.