Closed tobyzerner closed 11 months ago
Not Found
errors are a bit scary because it might be a bug in ext/dom
. Are you able to reproduce it with a minimal case, something like this for instance?
include '/path/to/vendor/autoload.php';
$config = new s9e\TextFormatter\Configurator;
$config->rootRules->enableAutoLineBreaks();
$config->urlConfig->allowScheme('mailto');
$config->urlConfig->allowScheme('upload');
$config->Escaper;
$config->Autoemail;
$config->Autolink;
$config->Litedown;
$config->PipeTables;
$config->TaskLists;
$config->Autovideo;
$config->Autoimage;
$config->finalize();
If so, what's your version of PHP?
Ah, that's it. I reproduced on PHP 8.2.7 and 8.1.20. Upgraded to 8.2.13 and 8.1.26 and it seems to have been fixed. Thanks!
so what's the fix ? Later edit: I've created a patch for now that just disable the task list once the fix will be applied i will remove that
Since upgrading to 2.15, TextFormatter is broken in Waterhole. Can be fixed by simply disabling the
TaskList
plugin (commenting out this line). Error and relevant stacktrace below.