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

ChunkedReadJobHandler does not exist #952

Closed
vipulapatel opened this issue Sep 29, 2016 · 5 comments
Closed

ChunkedReadJobHandler does not exist #952

vipulapatel opened this issue Sep 29, 2016 · 5 comments

Comments

@vipulapatel
Copy link

can anyone help me with this error?
Class App\Handlers\Commands\Maatwebsite\Excel\Readers\ChunkedReadJobHandler does not exist

@patrickbrouwers
Copy link
Member

Please show us your code. Not sure how you expect us to be able to help you without it?

@vipulapatel
Copy link
Author

vipulapatel commented Sep 30, 2016

code is simple, Please review below code,

Excel::filter('chunk')->load($dest)->chunk(250, function($results) {
            echo "<pre>";
            print_r($results);
             exit;
});

Excel class works without chunk.

@patrickbrouwers
Copy link
Member

Also please fill in the issue template. It makes helping a lot easier if I know which version you are using.

https://raw.githubusercontent.com/Maatwebsite/Laravel-Excel/2.1/.github/ISSUE_TEMPLATE.md

@vipulapatel
Copy link
Author

Package version 2.1.6, Laravel version 5.0

should import data without error

Class App\Handlers\Commands\Maatwebsite\Excel\Readers\ChunkedReadJobHandler does not exist

screenshot from 2016-10-01 17 07 48

Screenshot of Excel file

it is single file sheet import

just call

Excel::filter('chunk')->load($dest)->chunk(250, function($results) {
            echo "<pre>";
            print_r($results);
             exit;
});

@patrickbrouwers
Copy link
Member

With Laravel5.0.* you have to use version 2.0.* of this package.

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

2 participants