You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am relatively new to using Laravel (just a couple of weeks) so I may be not handling things correctly. Another consideration is that I am using MongoDB as the database backend and I already have to replace Illuminate\Database\Eloquent\Models with MongoDB\Laravel\Eloquent\Model in laravel-permissions. I have done the same in the Models file.
In the LaravelTicketSystemProvider::boot() function a call is made to InstallController::inactiveMigrations() to retrieve a list of the migrations in the database which fails when the DB::select() attempts to read from the database. With a bunch of debugging I have determined that the root cause of the failure is that the reconnector property of Illuminate\Database\Connection is not getting set which caused the select() call to fail due to no database connection.
So I am not certain if this failure is due to using MongoDB instead of the traditional PostgreSQL or MySQL database. The other question that occurs to me is if laravel-ticket works on prior versions of Laravel but has some incompatibility with Laravel v10.
The text was updated successfully, but these errors were encountered:
Hey,
Thsnks for reporting, most parts have been migrated to 10 but it's partially working with laravel 10 version, Im still wotking on it to make it fully compatible. Have a super day.
I am relatively new to using Laravel (just a couple of weeks) so I may be not handling things correctly. Another consideration is that I am using MongoDB as the database backend and I already have to replace
Illuminate\Database\Eloquent\Models
withMongoDB\Laravel\Eloquent\Model
inlaravel-permissions
. I have done the same in the Models file.In the
LaravelTicketSystemProvider::boot()
function a call is made toInstallController::inactiveMigrations()
to retrieve a list of the migrations in the database which fails when theDB::select()
attempts to read from the database. With a bunch of debugging I have determined that the root cause of the failure is that thereconnector
property ofIlluminate\Database\Connection
is not getting set which caused theselect()
call to fail due to no database connection.So I am not certain if this failure is due to using MongoDB instead of the traditional PostgreSQL or MySQL database. The other question that occurs to me is if
laravel-ticket
works on prior versions of Laravel but has some incompatibility with Laravel v10.The text was updated successfully, but these errors were encountered: