Closed (duplicate)
Project:
Metatag
Version:
7.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 Sep 2011 at 10:38 UTC
Updated:
6 Sep 2012 at 19:14 UTC
I add this error after installing the module Meta Tags version
Notice : Undefined index: content in metatag_page_build() (ligne 651 dans /sitepath/sites/all/modules/metatags/metatag.module).
And all my admin page were un-accessible.
I just added a test, remplacing this line (l.651 in both -dev and -alpha1 metatag.module files):
$page['content'] = array('metatags' => array()) + $page['content'];
By those :
if (isset($page['content'])) $page['content'] = array('metatags' => array()) + $page['content'];
else $page['content'] = array('metatags' => array());
Comments
Comment #1
dave reidThis has already been fixed in 7.x-1.x-dev.
#1281570: PHP notice when enable or disable links clicked in overlay (and redirect problem)
Comment #2
philsward commentedIf you are STILL receiving this error, it's probably because you downloaded the metatags module which is a DEAD module.
You need to uninstall it and download the http://drupal.org/project/metatag instead.
Comment #3
altbzh commentedI am with Meta tag 7.x-1.0-alpha1 and I have had this notice when I try to create an importer feed with feeds
Comment #4
freeduck commentedI get this error every time I create any type of content. I am running 7.x-1.0-alpha8+10-dev
Comment #5
damienmckennaThis was fixed on August 23rd, make sure you're using the latest -dev codebase.