Hi,
The message you pasted is only the first line of the error, so it tells us the function that failed (stripslashes) but not where it is called from. To find the cause we need the full error, with the file path and the line number.
Please set your error reporting to Maximum and debug system to On in the Joomla Global Configuration, then reproduce the trash click and copy the whole error message here (it will then show something like ".../file.php on line xxx").
This matters because HikaShop itself calls stripslashes in only one place, the file upload handler, which is not used at all when a product is removed from the cart. So the file and line will almost certainly point to another extension or to a template override on your site, and once we see them we can tell you exactly what to change.