Closed (fixed)
Project:
Open Graph meta tags
Version:
6.x-1.6
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Dec 2011 at 11:46 UTC
Updated:
2 Jun 2012 at 17:11 UTC
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
Comment #1
ericdrogers commentedI 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 :(
Comment #2
-Javier- commentedSame error, but different line in a spanish version of drupal:
Comment #3
telegraph commentedalso 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
Comment #4
magveto commentedsolution:
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. :)
Comment #5
hiddentao commentedSeems to be calling a Drupal 7.x method in the 6.x code.
Comment #6
hiddentao commentedWill hopefully be fixed in next release.