Hi,

first of all, thanks for this module. :)

Looks like there is an issue with callback functions in separate include files. I've created the extra field as described on the module page and everything works fine for the first page load after flushing the caches. However on subsequent page loads I get this message:

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'field_callback_function' not found or invalid function name in extrafield_views_integration_handler_field_extrafield->render() (line 23 of somepathtodrupal\sites\all\modules\contrib\extrafield_views_integration\views\handlers\field\extrafield_views_integration_handler_field_extrafield.inc).

If I load my include file before line 23, it works fine again.

The attached patch seems to solve the issue.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dasRicardo’s picture

Status: Needs review » Closed (fixed)

Hello,

thanks for your help. I added the patch and create a new release.