For some reason when I use the Product Repository update function i get the following error Message
Method Illuminate\Database\Eloquent\Collection::getTypeInstance does not exist.
I can create a new productRepository with no problem, but for some reason I get an error when using the update function.
I have searched online for a fix, but with no luck.
The line causing the error is in the PrintfulController on line 183
$this->productRepository->update($syncVariants, $id);
For some reason when I use the Product Repository update function i get the following error Message
Method Illuminate\Database\Eloquent\Collection::getTypeInstance does not exist.
I can create a new productRepository with no problem, but for some reason I get an error when using the update function.
I have searched online for a fix, but with no luck.
The line causing the error is in the PrintfulController on line 183
$this->productRepository->update($syncVariants, $id);
Any help is much appreciated.