My symfony-react project was working. But I wanted to switch to typescript. And made some changes. Then i cleaned my apt list. Made apt autoremove, autoclean, etc.
And when i completely switched from js to ts, i found that my api symfony won’t work.
I went for /_profiler, and got this error :
Undefined constant "XML_PI_NODE"
I already tried to “sudo apt install php8.2-xml”, but it still doesnt work.
I think it might be caused by my careless work with apt repo. And i can just reinstall my Ubuntu.) But I want to do this without kill everything.
Ubuntu: 20.04.5 LTS
PHP : 8.2.1
Symfony: 6.0.20