[Vtigercrm-developers] HTMLPurigier_Config not found error

Alan Lord alanslists at gmail.com
Mon Oct 24 08:42:40 GMT 2022


On 24/10/2022 09:12, Martin Allen wrote:
> We had an issue with the vtlib_purify function recently (that appears in 
> your stacktrace) – which prevented it working correctly if we had used 
> any Composer packages prior to that function. It appears that the 
> function tries to unload autoloaded items, but cant do this correctly 
> when Composer has autoloaded items.

Interesting.

If you follow the code path for the HTMLPurifier, during its 
initialisation it does actually call spl_autoload_unregister()...


https://code.vtiger.com/vtiger/vtigercrm/blob/7.1.0/libraries/htmlpurifier/library/HTMLPurifier/Bootstrap.php#L63

Maybe you are on the right lines here Martin...


Al






More information about the vtigercrm-developers mailing list