SpartnerNL / Laravel-Excel

🚀 Supercharged Excel exports and imports in Laravel
https://laravel-excel.com
MIT License
12.27k stars 1.92k forks source link

ChunkedReadJobHandler does not exist #952

Closed vipulapatel closed 7 years ago

vipulapatel commented 8 years ago

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

patrickbrouwers commented 8 years ago

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

vipulapatel commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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 commented 8 years ago

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