silverstripe-searchable-dataobjects
silverstripe-searchable-dataobjects copied to clipboard
Error : Class 'HTMLPurifier_Config' not found
Running Task Populate Search
[Emergency] Uncaught Error: Class 'HTMLPurifier_Config' not found GET /dev/tasks/PopulateSearch
any help? OK. I found out: Thats more an issue (?) on Purifier.php
i had to add a require_once right after 'namespace g4b0\HtmlPurifier;':
namespace g4b0\HtmlPurifier;
require_once '../vendor/ezyang/htmlpurifier/library/HTMLPurifier.auto.php';
sepp.
Sounds like a Composer issue to me, you may need to re-run composer install
or try a composer dump-autoload
. With composer autoload you shouldn't have to manually require files.
Anyways this is not likely a problem with this module.