We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using the Capsule Manager from illuminate/database I get the error Call to a member function getConnection() on null in Capsule/Manager
illuminate/database
Call to a member function getConnection() on null in Capsule/Manager
I quickly checked the file, and the $instance variable is never actually set.
See: https://github.com/illuminate/database/blob/master/Capsule/Manager.php#L74
The text was updated successfully, but these errors were encountered:
You need to set it. ;)
Sorry, something went wrong.
Ooh you need to setAsGlobal method, I see now :p
$capsule->setAsGlobal();
No branches or pull requests
When using the Capsule Manager from
illuminate/database
I get the errorCall to a member function getConnection() on null in Capsule/Manager
I quickly checked the file, and the $instance variable is never actually set.
See: https://github.com/illuminate/database/blob/master/Capsule/Manager.php#L74
The text was updated successfully, but these errors were encountered: