Line 316 of the .module file gave me the "function not defined" error. This is the line:

$file = _field_file_load($item['fid']);

To fix it, I Just added this the line before:

require_once(drupal_get_path('module', 'audiofield') .'/multimediafile.inc');

Comments

zostay’s picture

The recommended solution works for me.

budda’s picture

Would it not be just as simple to use require_once('multimediafile.inc'); as both PHP scripts are in the same directory.

mikeybusiness’s picture

The solution also worked for me.

a_c_m’s picture

Status: Active » Postponed (maintainer needs more info)

Glad the fix works, but cyou give me a step by step to reproduce the error?

a_c_m’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)