cooperl22 / laravel-db2

laravel-db2 is a simple DB2 service provider for Laravel. It provides DB2 Connection by extending the Illuminate Database component of the laravel framework.
Other
59 stars 65 forks source link

ErrorException in DB2Grammer.php: Missing Argument #29

Closed sarahkemp closed 7 years ago

sarahkemp commented 7 years ago

I updated today to ~5.4 and I get this error now whenever I open a page that uses my ibmi connection:

ErrorException in DB2Grammar.php line 45:
Missing argument 1 for Cooperl\Database\DB2\Schema\Grammars\DB2Grammar::__construct(), called in /var/www/lara/vendor/cooperl/laravel-db2/src/DB2Connection.php on line 114

I see the latest commit changed this. Is it working as intended?

cooperl22 commented 7 years ago

Hi @sarahkemp .

Can you please update the package?

It should be OK now.

Please read the README because yes indeed I've changed config. No need to set all the ODBC keywords anymore, just those you need.

sarahkemp commented 7 years ago

The update fixes it, thank you.

Thank you for providing and continuing to improve the package!