laravel-odbc
laravel-odbc copied to clipboard
Not working with php8.*
I have installed the libraby as mentioned in the readme file, but not sure why I'm getting the non compatibility fatal error for pdo functions.
The error is Declaration of Abram\Odbc\ODBCPdoStatement::fetchAll($how = null, $class_name = null, $ctor_args = null) must be compatible with PDOStatement::fetchAll(int $mode = PDO::FETCH_BOTH, mixed ...$args)
Can you please help me to fix this?
I got the same problem on my side... Did you find a way to resolve this?
By the way, I solved this by using https://github.com/yoramdelangen/laravel-pdo-odbc
It's a fork of this repo and works like a charme ;-)
@broomcms, I haven't found any solution for laravel-odbc library but I have installed the same library(laravel-pdo-odbc) and got the wheel turning.