Migration Plus entity_lookup fails – Drupal Answers

I’m trying to generate a taxonomy term if this does not already exist.
the migration file:

The taxonomy bundle name is function and the column in the spreadsheet
containing the values is ‘Functie’. However, I’m getting the following error:

(error) Error: Call to a member function getConfig() on null
in
Drupalmigrate_plusPluginmigrateprocessEntityLookup->determineLookupProperties() (line 217 of
/var/www/html/web/modules/contrib/migrate_plus/src/Plugin/migrate/process/EntityLookup.php)

/var/www/html/web/modules/contrib/migrate_plus/src/Plugin/migrate/process/EntityLookup.php(182):
Drupalmigrate_plusPluginmigrateprocessEntityLookup->determineLookupProperties(‘field_function’)

/var/www/html/web/modules/contrib/migrate_plus/src/Plugin/migrate/process/EntityGenerate.php(116):
Drupalmigrate_plusPluginmigrateprocessEntityLookup->transform(‘Medewerker’,
Object(Drupalmigrate_toolsMigrateExecutable),
Object(DrupalmigrateRow), ‘field_function’)

/var/www/html/web/core/modules/migrate/src/MigrateExecutable.php(394):
Drupalmigrate_plusPluginmigrateprocessEntityGenerate->transform(‘Medewerker’,
Object(Drupalmigrate_toolsMigrateExecutable),
Object(DrupalmigrateRow), ‘field_function’)

/var/www/html/web/core/modules/migrate/src/MigrateExecutable.php(203):
DrupalmigrateMigrateExecutable->processRow(Object(DrupalmigrateRow))

/var/www/html/vendor/drush/drush/includes/drush.inc(223): DrupalmigrateMigrateExecutable->import()

/var/www/html/vendor/drush/drush/includes/drush.inc(214): drush_call_user_func_array(Array, Array)

/var/www/html/web/modules/contrib/migrate_tools/src/Commands/MigrateToolsCommands.php(766):
drush_op(Array)

(internal function): Drupalmigrate_toolsCommandsMigrateToolsCommands->executeMigration(Object(DrupalmigratePluginMigration),
‘profiles’, Array)

/var/www/html/web/modules/contrib/migrate_tools/src/Commands/MigrateToolsCommands.php(321):
array_walk(Array, Array, Array)

(internal function): Drupalmigrate_toolsCommandsMigrateToolsCommands->import(‘profiles’,
Array)

/var/www/html/vendor/consolidation/annotated-command/src/CommandProcessor.php(257):
call_user_func_array(Array, Array)

/var/www/html/vendor/consolidation/annotated-command/src/CommandProcessor.php(212):
ConsolidationAnnotatedCommandCommandProcessor->runCommandCallback(Array,
Object(ConsolidationAnnotatedCommandCommandData))

/var/www/html/vendor/consolidation/annotated-command/src/CommandProcessor.php(178):
ConsolidationAnnotatedCommandCommandProcessor->validateRunAndAlter(Array,
Array, Object(ConsolidationAnnotatedCommandCommandData))

/var/www/html/vendor/consolidation/annotated-command/src/AnnotatedCommand.php(302):
ConsolidationAnnotatedCommandCommandProcessor->process(Object(SymfonyComponentConsoleOutputConsoleOutput),
Array, Array, Object(ConsolidationAnnotatedCommandCommandData))

/var/www/html/vendor/symfony/console/Command/Command.php(255):
ConsolidationAnnotatedCommandAnnotatedCommand->execute(Object(DrushSymfonyDrushArgvInput),
Object(SymfonyComponentConsoleOutputConsoleOutput))

/var/www/html/vendor/symfony/console/Application.php(978): SymfonyComponentConsoleCommandCommand->run(Object(DrushSymfonyDrushArgvInput),
Object(SymfonyComponentConsoleOutputConsoleOutput))

/var/www/html/vendor/symfony/console/Application.php(255): SymfonyComponentConsoleApplication->doRunCommand(Object(ConsolidationAnnotatedCommandAnnotatedCommand), Object(DrushSymfonyDrushArgvInput),
Object(SymfonyComponentConsoleOutputConsoleOutput))

/var/www/html/vendor/symfony/console/Application.php(148): SymfonyComponentConsoleApplication->doRun(Object(DrushSymfonyDrushArgvInput),
Object(SymfonyComponentConsoleOutputConsoleOutput))

/var/www/html/vendor/drush/drush/src/Runtime/Runtime.php(118):
SymfonyComponentConsoleApplication->run(Object(DrushSymfonyDrushArgvInput),
Object(SymfonyComponentConsoleOutputConsoleOutput))

/var/www/html/vendor/drush/drush/src/Runtime/Runtime.php(49): DrushRuntimeRuntime->doRun(Array,
Object(SymfonyComponentConsoleOutputConsoleOutput))

/var/www/html/vendor/drush/drush/drush.php(72): DrushRuntimeRuntime->run(Array)

/var/www/html/vendor/drush/drush/includes/preflight.inc(18): require(‘/var/www/html/v…’)

phar:///usr/local/bin/drush/bin/drush.php(141): drush_main()
/usr/local/bin/drush(10): require(‘phar:///usr/loc…’)

If anyone could point out what’s going wrong, by all means, enlighten me because I have no clue what’s going on, the configuration seems right to me.