CSV Import not working after 2.9.0 update

Got all the products imported when I was still using the previous release. Updated to 2.9.0 and needed to add several more, so I made a new CSV, being careful to keep the format the same. Only now, when I go to import, I get the “Whoops, something went wrong” message.

When I turn on debugging, I get

FatalThrowableError in Request.php line 14:
Type error: Argument 1 passed to App\Http\Requests\Request::__construct() must be an instance of Illuminate\Http\Request, none given, called in /var/www/ninja/app/Models/EntityModel.php on line 258

I’ve tried keeping the header rows as labels, taking them out and assigning them manually, etc. The interface will show the examples correctly, and even tell me the correct number of products that will be created. However, when I click “Import”, it throws off that error.

Did I break something when I updated or is there something else going on here?

It looks like a bug, I’ll do some testing and will let you know.

I’ve tracked down the problem, we’ll include a fix in the next minor release.

For now, you can fix it by commenting out the __construct function in app/Http/Requests/Request.php


That did the trick. Thanks!