Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error creating models - Laravel 9.52.6 #272

Open
danielrussocki opened this issue Feb 22, 2024 · 1 comment
Open

Error creating models - Laravel 9.52.6 #272

danielrussocki opened this issue Feb 22, 2024 · 1 comment

Comments

@danielrussocki
Copy link

I get the following error when I try to execute any of the commands to create my models

Declaration of Illuminate\Database\PDO\Concerns\ConnectsToDatabase::connect(array $params, $username = null, $password = null, array $driverOptions = []) must be compatible with Doctrine\DBAL\Driver::connect(array $params): Doctrine\DBAL\Driver\Connection

image

@darshannv
Copy link

Hi,
Try to install this -
composer require doctrine/dbal
It might work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants