PHP Notice: Undefined index: content in metatag_page_build() (line 651 of metatag.module).

I'm getting this error when I click an Enable or Disable configuration link when viewing admin/config/search/metatags in the Overlay. Also, this causes the next request to be the admin page itself rather than the admin page inside the overlay which seems like a redirection error.

Comments

Vlad Stratulat’s picture

I've got the same just after I enabled the module.

dave reid’s picture

Status: Active » Fixed
Vlad Stratulat’s picture

After I applied this patch the error doesn't appear anymore. Looks like it's fixed.

agoradesign’s picture

due to the renaming of the project the correct URL is now: http://drupalcode.org/project/metatag.git/commit/1792722

marktheshark’s picture

So does the 7.x-1.x-dev (which is currently dated 2011-09-16) include the fix, whereas 7.x-1.0-alpha2 (dated: 2011-09-19) doesn't?

Thank you

agoradesign’s picture

No, 7.x-1.0-alpha2 does already include the patch. All the comments above have been written before the alpha2 release

marktheshark’s picture

Thanks for clarifying.

Note however that alpha2 is missing the 's' in metatags, and if extracted as such will not work. Works again by renaming the resulting module directory.

agoradesign’s picture

No. That name change was made intentionally! Please read the project page carefully. The whole project was renamed. So you'll need to completely re-install the module

dave reid’s picture

Only the project shortname was changed (not any actual module file names) so you don't have to uninstall/re-install. Just make sure to delete the old files, copy in the new alpha2 files, and run update.php and clear your caches.

marktheshark’s picture

Thanks for the tip. I somehow managed to miss the big green warning box on the project page... :-)

Status: Fixed » Closed (fixed)

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

David_Rothstein’s picture

kristin.e’s picture

I am still getting the same php error message after downloading and installing 7.x-1.0-alpha5 of the module. I uninstalled and reinstalled it twice over to see if the message would go away but it keeps coming back each time. I have run update script + cleared caches with each uninstall and reinstall. Any ideas on this?
Thanks in advance