-
Notifications
You must be signed in to change notification settings - Fork 131
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 when calling chunk #189
Comments
Darn, it's because laravel 5.2 Collection doesn't have isNotEmpty method. You could upgrade laravel to 5.3 or you can manually update the code in laravel-dynamodb/src/DynamoDbQueryBuilder.php Line 432 in 71aa7b5
if (!$results->isEmpty())
|
I can't update my laravel version right now. |
Thanks for the PR |
@baopham can you please publish a release so that I can update my project |
hey @sahilsharma011, are you able to use dev-master for now? I would like to have the tests all fixed first before we release it. |
Yes no issue. I am using dev-master
…On Tue 26 Feb, 2019, 15:58 Bao Pham, ***@***.***> wrote:
hey @sahilsharma011 <https://github.com/sahilsharma011>, are you able to
use dev-master for now? I would like to have the tests all fixed first
before we release it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#189 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJE0rkhy1Ef2l3W4fwkH7Fv25xaTQDobks5vRQxpgaJpZM4bPNIE>
.
|
Describe the bug
I am receiving
[BadMethodCallException] Method isNotEmpty does not exist
whenever I am using chunk method on a DynamoDbModel.I am receiving this error on all my servers (testing, staging and production) but not on my local machine even though all 4 machines have same versions of php, laravel and laravel-dynamodb.
Stacktrace
Version info
The text was updated successfully, but these errors were encountered: