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

Fatal error: Class 'League\Csv\Reader' in not found #4

Open
lucasound opened this issue May 11, 2017 · 2 comments
Open

Fatal error: Class 'League\Csv\Reader' in not found #4

lucasound opened this issue May 11, 2017 · 2 comments

Comments

@lucasound
Copy link

Hi,

in console, i have this error:

Fatal error: Class 'League\Csv\Reader' in not found in /var/www/vhosts/sito.com/httpdocs/app/code/FireGento/FastSimpleImportDemo/Console/Command/Product/ImportCsv.php on line 75

what is the problem?

@avstudnitz
Copy link
Member

The missing class is not a part of FastSimpleImport, an external library. If you install FastSimpleImport with composer (which is recommended), the library will be installed automatically. You can find installation instructions for League_Csv on https://github.com/thephpleague/csv#install. If you can't use composer, you can copy the content of https://github.com/thephpleague/csv/tree/master/src to the lib/internal folder of your Magento installation.

@lucasound
Copy link
Author

hi thanks.

i have the error:

Fatal error: Call to a member function getName() on null in /var/www/vhosts/site.com/httpdocs/vendor/magento/module-catalog-import-export/Model/Import/Product/CategoryProcessor.php on line 80

my csv has 1 column with table data:

sku,attribute_set_code,product_type,categories,product_websites,website_id,name,weight,product_online,visibility,price,special_price,url_key,meta_title,meta_keywords,meta_description,base_image,base_image_label,small_image,small_image_label,thumbnail_image,thumbnail_image_label,swatch_image,created_at,updated_at,qty,is_in_stock,ean

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