The autocomplete field doesn't seem to work when the devel modules are turned on...

More importantly, when you "disable devel modules" the next page load (and every subsequent one) throws this error to the screen:

Call to undefined function devel_themer_catch_function() in C:\**sitepath**\sites\all\modules\finder\modules\finder_autocomplete\finder_autocomplete.module on line 277

I got rid of the error one time, but to be honest I don't know how I did...

I think the problem is with this (from finder_autocomplete.module):

/**
 * Implementation of hook_theme_registry_alter().
 */
function finder_autocomplete_theme_registry_alter(&$theme_registry) {
  $theme_textfield = $theme_registry['textfield']['function'];
  if ($theme_textfield != 'theme_textfield') {
    variable_set('finder_autocomplete_textfield_theme', $theme_textfield);
  }
  $theme_registry['textfield']['function'] = $theme_registry['finder_autocomplete_textfield']['function'];
}

Comments

gmclelland’s picture

I'm having the same problem.

danielb’s picture

Can you just rebuild your cache under 'performance'?

gmclelland’s picture

Didn't work for me.

techczech’s picture

Same problem here

techczech’s picture

I've narrowed it down to the themer module. I've cleared all the cache tables and nothing happened. Reenabling the themer module was the only way to fix the problem. But then of course, the finder autocomplete doesn't work.

danielb’s picture

I think I understand the problem, the fix would be to remove the if ($theme_textfield != 'theme_textfield') { and corresponding closing brace - then disable the devel/themer module.

danielb’s picture

I might actually be able to get around this whole nonsense using #theme

techczech’s picture

thanks, that fixed the issue

Flying Drupalist’s picture

Same here.

gmclelland’s picture

change - works for me.

danielb’s picture

Status: Active » Fixed

This has been changed in beta2

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

argentin’s picture

Same here