I enable the panels: meta tags sub module.
Go to my standard panel layout and check the box enable meta tags on the panle.
Update and Save.
I get the following error:
Notice: Undefined index: instance in DrupalTextMetaTag->getValue() (line 97 of /home/forefron/public_html/sites/all/modules/metatag/metatag.inc).
Notice: Undefined index: instance in DrupalTextMetaTag->getValue() (line 97 of /home/forefron/public_html/sites/all/modules/metatag/metatag.inc).
Notice: Undefined index: instance in DrupalTextMetaTag->getValue() (line 97 of /home/forefron/public_html/sites/all/modules/metatag/metatag.inc).
Notice: Undefined index: instance in DrupalTextMetaTag->getValue() (line 97 of /home/forefron/public_html/sites/all/modules/metatag/metatag.inc).
Any ideas. I think there is a similar error with context meta tags that I saw in the issue queue. Not sure if its related. thank you.
Comments
Comment #1
514id commentedSubscribe. The same error.
Comment #2
damienmckennaI'm unable to reproduce this with the latest dev version. Are you using the latest CTools and Panels releases? When you click the "Enable Metatag configuration" checkbox does the Metatag fieldset show?
Comment #3
clashar commentedsame error but I see it only in reports.
Fieldset appears correctly.
Message Notice: Undefined index: instance in DrupalTextMetaTag->getValue() (line 97 of ... /sites/all/modules/metatag/metatag.inc).
I've got:
Panels 3.3 (latest stable)
Ctools 1.3 (latest stable)
Metatag 7.x-1.0-beta7
Comment #4
clashar commentedComment #5
andreavr commentedSubscribing - same error: also using most current version of modules:
Panels: 7.x-3.3
Ctools 1.3 (latest stable)
Metatag 7.x-1.0-beta7
Comment #6
4fs commented#2 using metatag 7.x-1.0-beta7 and I not tested the latest dev (will do) and panels and ctools all latest versions.
When I click the "Enable Metatag configuration" checkbox the Metatag fieldset does show and I can add info and when I save the panel it prints the error and appears to be working except for the error.
I hope this helps. Strange it does not reproduce. I will do some more testing. Perhaps because there is a view in the panel - not sure.
Comment #7
dmatamales commentedSubscribing - also getting the same error with same configuration as #5 - all current stable modules. I am using Views content panes as well, but it seems to choke on panels that only have nodes in them as well as ones with Views content, so I don't think it's an issue with Views.
I will try latest dev of Metatag as people seem not to be coming back after doing that.
Comment #8
dmatamales commentedI can confirm that this error appears to be fixed in the latest dev build, although for some reason it still kicks me out of the overlay when I hit Update and save after enabling Metatag configuration on a panel. Not a huge deal, but a bit of an inconvenience.
Comment #9
damienmckennaThis is a duplicate of #1994634: DrupalTextMetaTag::getValue() defaults to not having $options['instance'] but expects it which was recently fixed, please give the latest -dev release to see the fix.
Comment #10
4fs commentedthank you. I have tested latest dev version and all appears to be working well.
This module in its current state is imo in a really good place at the moment and satisfying 99% my requirements. Thank you for all the hard work.
Comment #11
jorgedevillalba commentedHello. I´m still having the same problem. I´ve installed the latest version 7.x-1.0-beta7 and i´ve got the updated the hole modules in my site and when enable ""Metatag configuration" in a page, I have the same notice:
Notice: Undefined index: instance en DrupalTextMetaTag->getValue() (línea 97 de /home3/apli/public_html/sites/all/modules/metatag/metatag.inc).
Notice: Undefined index: instance en DrupalTextMetaTag->getValue() (línea 97 de /home3/apli/public_html/sites/all/modules/metatag/metatag.inc).
Notice: Undefined index: instance en DrupalTextMetaTag->getValue() (línea 97 de /home3/apli/public_html/sites/all/modules/metatag/metatag.inc).
Notice: Undefined index: instance en DrupalTextMetaTag->getValue() (línea 97 de /home3/apli/public_html/sites/all/modules/metatag/metatag.inc).
Can anybody help me? thanks a lot