htmlpurifier icon indicating copy to clipboard operation
htmlpurifier copied to clipboard

Deleting a file that does not exist on the server

Open dadkhah-dev opened this issue 1 year ago • 0 comments

For some reason I have to use multiple versions of this library. I sometimes get the following error.

exception : 
"ErrorException" file :  "/var/www/html/server/niyam/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer.php"
line :  143
message :  "unlink( .../storage/app/purifier/HTML/4.17.0,19f8feec63cd8ce29ac2494f39592aed6bd4c4fa,1.ser): No such file or directory"

The problem occurs when the file is not on the server and the code wants to delete it.

dadkhah-dev avatar Mar 03 '25 10:03 dadkhah-dev