[NOT A BUG] importer crashes

janslu

Active Member
I have just started test upgrades for my forum and tried to upgrade my test server to xf2 and new version of Social Groups. Found the following problem:

Code:
InvalidArgumentException: Could not find 'is_staff' in data in src/XF/Import/Importer/AbstractImporter.php at line 186
XF\Import\Importer\AbstractImporter->mapKeys() in src/addons/Truonglv/Groups/Import/Importer/Group.php at line 295
Truonglv\Groups\Import\Importer\Group->stepMembers() in src/XF/Import/Runner.php at line 160
XF\Import\Runner->runStep() in src/XF/Import/Runner.php at line 74
XF\Import\Runner->run() in src/XF/Admin/Controller/Import.php at line 232
XF\Admin\Controller\Import->actionRun() in src/XF/Mvc/Dispatcher.php at line 249
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
XF\App->run() in src/XF.php at line 328
XF::runApp() in admin.php at line 13

Is this because the old version was using 2.8.6 (I think) and not the latest version of xf1 add-on? Should I upgrade xf1 environment to latest version and only after that move to xf2?
 
Its not advisable to skip any version of social groups. IME it often leads to problems.
 
Yes. I have create importer for social group version 2.8.9 or higher. Please upgrade to higher version then upgrade it.
 
Back
Top