I ran into a fatal error on every single page load with a fresh clone of osclass-classifieds/osclass, tag v8.3.1, running on PHP 8.2 (webdevops/php-apache Docker image + MariaDB).
The problem: oc-includes/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Config.php is missing from the vendored HTMLPurifier copy shipped in the repo. I checked the GitHub mirror directly — it's absent both at tag v8.3.1 and on main.
Since HTMLPurifier_Config::createDefault() gets called on nearly every request (e.g. install-functions.php's _purify(), used by get_absolute_url()), this throws immediately:
PHP Fatal error: Uncaught Error: Class "HTMLPurifier_Config" not found in /oc-includes/osclass/install-functions.php:39
With display_errors off (as in most production-style setups), you don't see an error at all — the page just cuts off mid-HTML wherever the fatal happened, which makes it look like a broken response rather than a PHP error. Took a while to track down.
Steps to reproduce:
Fresh clone of v8.3.1
Run it under any PHP 8.2 web server
Open any page (the install wizard is the easiest way to trigger it)
Response is truncated instead of rendering
The vendored library's VERSION file says 4.19.0, but the whole HTMLPurifier/ directory has 378 files and Config.php just isn't one of them.
Workaround: I copied library/HTMLPurifier/Config.php from ezyang/htmlpurifier's own v4.19.0 tag (the exact version this project vendors) into the same path, unmodified. That fixed it immediately.
Would be good to get this patched in the vendored copy so others don't hit the same wall.