-
Notifications
You must be signed in to change notification settings - Fork 190
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
constant log flooding - Cannot retrieve value of undefined directive Core.RemoveBlanks #2883
Comments
Sorry for not filling the form previously... |
Can you also make a report to https://github.com/ezyang/htmlpurifier? Because that doesn't seem like an issue in news. |
Did so: ezyang/htmlpurifier#428 |
@SMillerDev is HTML Purifyer included with news somehow, or is it installed in the os? I am asked to try and reistall it, but I did not install this in the first place. This could however also be due to it being included in nextcloudpi... |
It is shipped with news as a dependency hence the path that includes news. But I have no idea why you see that in your logs. |
It's part of the news app. Maybe the v25 release of today will help? |
@SMillerDev just checked my logs I also see these warnings and I'm running 25.0.0 |
Updated to 25.0.0 and it keeps logging |
Actually it is very likely something you imported with the Alpha14, as the issue was not there before. |
It was updated in alpha13 (791ea20) from v4.17.0 to 4.18.0 which added this as new feature: add directive for removing blank nodes (ezyang/htmlpurifier#404) (c9d60c9) |
This comment has been minimized.
This comment has been minimized.
Probably, I think I jumped alpha 13 |
This comment has been minimized.
This comment has been minimized.
Should we revert 791ea20 meanwhile? |
I think this can be closed, as the downgrade removed the issue, however, it should be keept in sight for next upgrade attempt... |
IMPORTANT
Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)
Explain the Problem
no visual issue, but constant log flooding 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"}
Steps to Reproduce
install News Alpha 14
System Information
{"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"}
Paste output here
nothing specific, News is actually working
Read http://ggnome.com/wiki/Using_The_Browser_Error_Console if you are unsure what to put hereThe text was updated successfully, but these errors were encountered: