• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 IPB 3.4.6 Import error

#1
I'm currently getting this error whenever I try to import users not matter when combinations of settings I use:

Code:
ErrorException: Invalid argument supplied for foreach() - library/XenForo/Importer/IPBoard.php:1422
Generated By: aStonedPenguin, A moment ago
Stack Trace

#0 /usr/www/supweb/superiorservers.co/forums/library/XenForo/Importer/IPBoard.php(1422): XenForo_Application::handlePhpError(2, 'Invalid argumen...', '/usr/www/supweb...', 1422, Array)
#1 /usr/www/supweb/superiorservers.co/forums/library/XenForo/Importer/IPBoard.php(1167): XenForo_Importer_IPBoard->_hasAdminPermission(Array, 'members', 'members')
#2 /usr/www/supweb/superiorservers.co/forums/library/XenForo/Importer/IPBoard.php(959): XenForo_Importer_IPBoard->_importUser(Array, Array)
#3 /usr/www/supweb/superiorservers.co/forums/library/XenForo/Importer/IPBoard.php(748): XenForo_Importer_IPBoard->_importOrMergeUser(Array, Array)
#4 /usr/www/supweb/superiorservers.co/forums/library/XenForo/Importer/Abstract.php(97): XenForo_Importer_IPBoard->stepUsers(0, Array)
#5 /usr/www/supweb/superiorservers.co/forums/library/XenForo/ControllerAdmin/Import.php(187): XenForo_Importer_Abstract->runStep(Object(XenForo_ControllerAdmin_Import), Object(XenForo_ImportSession), 'users', 0, Array)
#6 /usr/www/supweb/superiorservers.co/forums/library/XenForo/ControllerAdmin/Import.php(239): XenForo_ControllerAdmin_Import->_runStep(Object(XenForo_Importer_IPBoard34x), Object(XenForo_ImportSession), 'users', 0, Array)
#7 /usr/www/supweb/superiorservers.co/forums/library/XenForo/ControllerAdmin/Import.php(182): XenForo_ControllerAdmin_Import->_startStep(Object(XenForo_Importer_IPBoard34x), Object(XenForo_ImportSession), 'users', Array)
#8 /usr/www/supweb/superiorservers.co/forums/library/XenForo/FrontController.php(347): XenForo_ControllerAdmin_Import->actionStartStep()
#9 /usr/www/supweb/superiorservers.co/forums/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /usr/www/supweb/superiorservers.co/forums/admin.php(13): XenForo_FrontController->run()
#11 {main}

Request State

array(3) {
  ["url"] => string(60) "http://superiorservers.co/forums/admin.php?import/start-step"
  ["_GET"] => array(1) {
  ["import/start-step"] => string(0) ""
  }
  ["_POST"] => array(3) {
  ["options"] => array(2) {
  ["mergeName"] => string(1) "1"
  ["_dummy"] => string(1) "1"
  }
  ["step"] => string(5) "users"
  ["_xfToken"] => string(8) "********"
  }
}
 

Mike

XenForo developer
Staff member
#2
This isn't an error I recall seeing. It appears to be related to not having a "members" entry in the the module cache it seems. Is the IPB install still working? I'm not particularly familiar with this specific area of the code, but can you check your admin perms in IPB? Do you have a members section?