I tried implement import by Msquare answer from here import custom csv to custom table- magento 2
But I getting this error:
Fatal error: Uncaught Error: Call to a member function getData() on null in (...) app/code/PetTheme/Module/Block/Adminhtml/Dataimport/Edit/Form.php:82 Stack trace: #0
this is this line:
Any ideas what was wrong?