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

gisle’s picture

Issue summary: View changes
Status: Active » Closed (outdated)
Parent issue: » #3066322: Remove support for depreciated modules

The Drupal 6 version is no longer supported.
There is no Profile module in Drupal 7.
Closing as outdated.