[STDERR] PHP Warning

Hello,

what is this error ? how to solve !

lscp/cyberpanel/logs/error.log

[STDERR] PHP Warning:  Base directory /usr/local/CyberCP/public/mailwatch/mailscanner/lib/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer does not exist,
                    please create or change using %Cache.SerializerPath in /usr/local/CyberCP/public/mailwatch/mailscanner/lib/htmlpurifier/HTMLPurifier.standalone.php on line 15754

/DefinitionCache/ this folder is missing

can solve by mkdir -p DefinitionCache/Serializer ?

1 Like

Its just a warning and not an error. Although you can get rid of this warning by executing this commands

cd /usr/local/CyberCP/public/mailwatch/mailscanner/lib/htmlpurifier/standalone/HTMLPurifier/
mkdir -p DefinitionCache/Serializer

what is the function missing if not make that directory? also is that issue because I did something wrong ? I wish @usmannasir can check too

No function is missing bro. Its already a reported issue with mailscanner html purifier as it doesnt create the directory by default. If you google it, you will find this issue reported in mailscanner.

But its just a warning which you can ignore or simply create that folder to get rid of this notice.

1 Like