Closed (outdated)
Project:
User Import
Version:
6.x-4.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2012 at 04:37 UTC
Updated:
8 Jul 2019 at 13:25 UTC
Jump to comment: Most recent
When uploading a large import, cron is used to 'continue' the import beyond the initial group.
However, when the cron job was called, this error occured.
Unknown function _user_import_profile on line 74 of user_import.inc
This patch seems to solve the problem, around line 74 of user_import.inc:
if (module_exists('profile') && is_array($profile)) {
+ //_user_import_profile won't work w/o this include
+ module_load_include('inc', 'user_import', 'user_import.admin');
$profile_name = _user_import_profile('fid', 'name');
This is 6.x-4.0 though I don't see that this has been address in 6.x-4.1 so I believe it applies to 4.1 as well.
Comments
Comment #1
gisleThe Drupal 6 version is no longer supported.
There is no Profile module in Drupal 7.
Closing as outdated.