-
Notifications
You must be signed in to change notification settings - Fork 5
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
BadMethodCallException : Method Illuminate\Database\Schema\Blueprint::intOrBigIntBasedOnRelated does not exist. #2
Comments
Can you paste here the output of |
Thanks for the report, I've found the problem. Fix is coming within an hour. |
@tonyjaimep To fix your Vanilo installation, update the following packages via composer: composer update konekt/user konekt/laravel-migration-compatibility vanilo/order This should update the user module to v1.2.1 and the migration compatibility one to v1.0.1. php artisan migrate Please let me know if it worked or not. |
it is not worked |
@aslansinan because you got an error message of "X"; while you were trying "Y"; while having user module at version "Z"; and migration compatibility at version "A"; Laravel at version "B"; PHP at version "C". |
I also have this problem. |
Is package auto-discovery turned off in your project? |
Hello brother this is my error at below when I try to migrate database and I also turned off the package but it still not work. Do you have other solutions? thanks in advance Migrating: 2014_10_12_000000_create_users_table BadMethodCallException Method Illuminate\Database\Schema\Blueprint::strong does not exist. at vendor/laravel/framework/src/Illuminate/Macroable/Traits/Macroable.php:113 • Bad Method Call: Did you mean Illuminate\Database\Schema\Blueprint::string() ? 1 database/migrations/2014_10_12_000000_create_users_table.php:35
6 database/migrations/2014_10_12_000000_create_users_table.php:44 |
Don't turn off the package auto-discovery, it must be turned on. I can't tell for sure where it is coming from, but as far as I see, the application setup is wrong. I suggest starting over from scratch creating the application if that's possible. |
Following the vanillo installation guide, when running
php artisan migrate
I came across this error:I tried looking at the laravel API docs for Blueprint and effectively, the
intOrBigIntBasedOnRelated
method does not exist.Will try my hand at a fix
Using Laravel 5.8.33 and PHP 7.3
The text was updated successfully, but these errors were encountered: