I'm running into this error when I try to edit a node. I also have no options to select a node type in the admin section. I've used this module on another site and it worked fine.

Thanks for any help.

Comments

ericdrogers’s picture

Version: 6.x-1.x-dev » 6.x-1.6
Category: support » bug
Priority: Normal » Critical

I am also getting this error after upgrading from an older version to 6.x-1.6 on Drupal 6.22. It happens trying to create a new node or modify an existing node. I had to disable the module, which is a bummer because we rely on it quite heavily :(

-Javier-’s picture

Same error, but different line in a spanish version of drupal:

Fatal error: Call to undefined function field_language() in /home/liaench/public_html/modules/opengraph_meta/opengraph_meta.common.inc on line 521

telegraph’s picture

also hitting this problem, version to 6.x-1.6 on Drupal 6.22:

Call to undefined function field_language() in opengraph_meta/opengraph_meta.common.inc on line 521

magveto’s picture

solution:

I wrote this:

Fatal error: Call to undefined function field_language() in /www/r/e/u5381/public_html/_sub/bars/modules/opengraph_meta/opengraph_meta.common.inc on line 521

I deleted the line (521):

$lang = field_language('node', $node, 'body');

The site works again. :)

Are you sure this is not the official solution, but I do not know why it works. :)

hiddentao’s picture

Seems to be calling a Drupal 7.x method in the 6.x code.

hiddentao’s picture

Status: Active » Fixed

Will hopefully be fixed in next release.

Status: Fixed » Closed (fixed)

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