Attempt to assign property "id" on null

I installed a new directory component (com_mosets) with LScache enabled. When I edit an item and click save, I get this error "Attempt to assign property "id" on null" and the item is not saved (the changes), if I disable the cache on this component, it works fine and it dose display the massage "Informed LiteSpeed Server to purge all related cached pages successfully."
Any thoughts about it?

PHP 8.0.17