-
Notifications
You must be signed in to change notification settings - Fork 334
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
Cannot retrieve value of undefined directive Core.RemoveBlanks #428
Comments
We didn't remove this directive. What if you reinstall HTML Purifier? |
The directive was added in 4.18 (latest release), but I cannot replicate the issue when using |
I'm also experiencing this in nextcloud news. Is there anything specific I can dig into to help investigate? |
I don't really know much about HTML Purifyer, but I guess it is bundled with nextcloud news as an external library would I just need to replace a file to reinstall it? Or is it actually installed in the os? |
OK, so this is shipping with the nextcloud-news app, nothing I could do there I guess |
I am guessing they botched their bundle. Go complain back at them. |
So you confirm everything is working from your side? |
News just ships whatever Composer gives us, is there a way to further debug this? The initialisation in news is done like this: https://github.com/nextcloud/news/blob/594be805c85c8b06c9b9918f90453309cfd1ade3/lib/AppInfo/Application.php#L103 |
I'd go look at the ConfigSchema ser and manually check it matches what's in Git |
Hi,
I am using nextcloud and its news app, which actually is an RSS reader and uses your library. Since its latest alpha build it constantly floods nextcloud logs with
{"reqId":"S9A6V7FoXrzh4bT1hs1U","level":2,"time":"2024-11-16T08:50:24+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Cannot retrieve value of undefined directive Core.RemoveBlanks invoked on line 75 in file /var/www/nextcloud/apps/news/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer/DOMLex.php at /var/www/nextcloud/apps/news/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Config.php#901","userAgent":"--","version":"30.0.2.2","data":{"app":"PHP"},"id":"67385db8a6022"}
And the Dev suggested to post this here, as it seems to be an upstream issue in your library.
Please also check this bugreport in nextcloud/news
nextcloud/news#2883
The text was updated successfully, but these errors were encountered: