```
Exception - Typed property DOMAttr::$name must not be accessed before initialization
Debug info:
Error code: generalexceptionmessage
Stack trace:
line 267 of /lib/htmlpurifier/HTMLPurifier/Lexer/DOMLex.php: Error thrown
line 222 of /lib/htmlpurifier/HTMLPurifier/Lexer/DOMLex.php: call to HTMLPurifier_Lexer_DOMLex->transformAttrToAssoc()
line 118 of /lib/htmlpurifier/HTMLPurifier/Lexer/DOMLex.php: call to HTMLPurifier_Lexer_DOMLex->createStartNode()
line 90 of /lib/htmlpurifier/HTMLPurifier/Lexer/DOMLex.php: call to HTMLPurifier_Lexer_DOMLex->tokenizeDOM()
line 213 of /lib/htmlpurifier/HTMLPurifier.php: call to HTMLPurifier_Lexer_DOMLex->tokenizeHTML()
line 1971 of /lib/weblib.php: call to HTMLPurifier->purify()
line 1759 of /lib/weblib.php: call to purify_html()
line 3010 of /lib/weblib.php: call to clean_text()
line 750 of /admin/index.php: call to redirect()```
Everything was basically almost copy and paste with slight modification from this link https://docs.moodle.org/402/en/Step-by-step_Installation_Guide_for_Ubuntu
After all requirement are met on installation screen (except https), I pressed continue and left it, and after I came back, it was the error that greeted me
How do i resolve this issue? Thank you in advance
My setup
- OS: Fedora 37
- PHP 8.1.19
- Web server: httpd
- Database: postgresql 14.3
- Moodle: 4.2