Codeigniter normally used to show helpful error messages but for some unknown reasons, all it shows is
Uncaught ErrorException: htmlspecialchars() expects parameter 1 to be string, resource given in C:\xampp\htdocs\app\Views\errors\html\error_exception.php:182 Stack trace: #0 [internal function]: CodeIgniter\Debug\Exceptions->errorHandler(2, 'htmlspecialchar...', 'C:\\xampp\\htdocs...', 182, Array) #1 C:\xampp\htdocs\app\Views\errors\html\error_exception.php(182): htmlspecialchars(Resource id #23, 8, 'UTF-8') #2 C:\xampp\htdocs\system\Debug\Exceptions.php(299): include('C:\\xampp\\htdocs...') #3 C:\xampp\htdocs\system\Debug\Exceptions.php(172): CodeIgniter\Debug\Exceptions->render(Object(ParseError), 500) #4 [internal function]: CodeIgniter\Debug\Exceptions->exceptionHandler(Object(ParseError)) #5 {main} thrown
I have NO idea what is going on.Whether it is a parse error, synat error etc, that is all it ever shows now.Please help
Ps: this happened after installing some composer pacakages