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

Cannot resolve PostgresConnection in Laravel11.x #89

Closed
fuwasegu opened this issue Apr 26, 2024 · 3 comments
Closed

Cannot resolve PostgresConnection in Laravel11.x #89

fuwasegu opened this issue Apr 26, 2024 · 3 comments

Comments

@fuwasegu
Copy link
Contributor

As per pull request #48864 in Laravel, Laravel has abandoned its dependency on DBAL (Database Abstraction Layer) during the migration to 11.x.
In the process, methods related to Doctrine that were implemented in Illuminate\Database\Connection::class have also been removed.
Although this library was recently updated to support Laravel 11.x and its major version was bumped to 6, it still seems to be using methods like DB::registerDoctrineType(), which suggests that it has not actually followed the changes made in Laravel 11.x.

The issue is that non-existent methods continue to be called from the DB Facade, causing the resolution of the Connection to recurse infinitely, which leads to the processing getting stuck.

Thanks.

@mpyw mpyw mentioned this issue May 1, 2024
@pvsaintpe
Copy link
Member

Fixed in version 7.0.1

@mpyw
Copy link
Contributor

mpyw commented May 4, 2024

This looks to be not sufficient, actually fixed in forked fuwasegu/laravel-pg-extensions-next

@pvsaintpe
Copy link
Member

@mpyw

Please, send pull request into mi repo with the fix. Thank you.

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

3 participants