Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error : Class 'HTMLPurifier_Config' not found #48

Open
seppzzz opened this issue Sep 10, 2022 · 1 comment
Open

Error : Class 'HTMLPurifier_Config' not found #48

seppzzz opened this issue Sep 10, 2022 · 1 comment

Comments

@seppzzz
Copy link

seppzzz commented Sep 10, 2022

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.

@davejtoews
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants