I have just one freetagging vocabulary, and all calais terms are set to append to that vocabulary. On page preview, it views fine, on Save, i get HP Fatal error: Call to undefined function field_available() in service.inc on line 95.

Text Mining API and Process API are upgaded to the latest version as of today.

Line 95 is

switch ($field_terms['add_terms_mode']) {
case 'reset':
$item_entity->{$field}[$langcode]=array();
break;
case 'append':
//nothing
break;
default: //empty
if (isset($item_entity->{$field}[$langcode])&&count($item_entity->{$field}[$langcode])) {
//nothing
continue;
}
}

Comments

quazardous’s picture

Title: HP Fatal error: Call to undefined function field_available() in service.inc on line 95 » PHP Fatal error: Call to undefined function field_available() in service.inc on line 95
Status: Active » Needs review

hi,

language in field API is a bit confusing so fo now I just put current language...

I ve fix the bug tar tarball should be fine after 12:00

deltab’s picture

Hi, I don't see anymore errors after upgrade to the latest, however, no Calais terms are stored and I don't see anything in watchdog to identify the issue.

Is there a more detailed documentation?

quazardous’s picture

hi,

no sorry documentation is not very extensive yet....

and oops ! I'm gonna recheck tomorrow...

have you selected "allow created terms" for each field association ?

quazardous’s picture

try the random terms generation...

deltab’s picture

No, I have enabled "allow created terms" for just the first field association, I assumed that applies to all Calais terms?

On installing Random Terms and dependencies, I get "Recoverable fatal error: Argument 2 passed to ProcessApiServer::configurationFormValidate() must be an array, null given, called in /var/www/html//sites/all/modules/process_api/process_api.admin.inc on line 401 and defined in ProcessApiServer->configurationFormValidate() (line 412 of /var/www/html//sites/all/modules/process_api/includes/entity.inc)." on create new server.

Also, Entity Metadata is marked as Deprecated in the latest release of Entity.

quazardous’s picture

ok,

You have to check all the allow create (sorry paranoid mode ;p)...

I ll take a look on entity (erf always changing ;p)

For the Process API bug :
http://drupal.org/node/1021120

I close this one

quazardous’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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