I installed the module and get the following message:
Notice: Undefined index: value in _seo_ui_fix_metatag_descriptions() (line 232 of /home/.../public_html/sites/all/modules/seo_ui/seo_ui.module).
Notice: Undefined index: token_group in _seo_ui_alter_metatags() (line 186 of /home/.../public_html/sites/all/modules/seo_ui/seo_ui.module).
Any idea whats the problem.
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | Screen Shot 2012-09-05 at 2.07.14 PM.jpg | 80.34 KB | jessebeach |
| #15 | 1394342_fix-undefined-indices_15.patch | 1.87 KB | jessebeach |
| #7 | seo_ui-1394342.patch | 1.5 KB | amaria |
Comments
Comment #1
rudivanes commentedComment #2
dgastudio commentedsame here.
Comment #3
sewid commentedsame problem here
Comment #4
jras commentedSub. Same issue.
Comment #5
socialnicheguru commentedsame here.
Comment #6
socialnicheguru commentedI believe "needs work" status is for reviewing patches.
Comment #7
amaria commentedHere is a patch to fix these errors. I created this based on:
seo_ui-7.x-1.x-dev
metatag-7.x-1.0-alpha4
patch notes:
Comment #8
builderShawn commentedPatch worked for me.
Thanks!
Comment #9
aznation commentedWhere do you place the patch code to make it work? Sorry for the noob question.
edit: After looking it over carefully it is pretty simple. Just search through the module code for the snippetts mentioned in the patch, they are marked with '+' for additions and '-' for deletions. In the case of the above code, just a couple of lines are slightly modified:)
The error goes away on node-edit forms but I still can't apply seo-ui due to errors upon saving. I may need to remove the metatag module as the problems seem to revolve around it.
The error that pops up when saving is:
Notice: Undefined index: metatags in metatag_metatags_form_submit() (line 610 of ...
Comment #10
Phil Wolstenholme commentedSame issue for me, I will wait for the patch to be reviewed and applied to the module.
Comment #11
amaria commentedOh, the patch I made here should fix the errors when saving.
Comment #12
triple5 commentedIn order to patch, the most convenient is to use the tool "patch" on the command line if you have access to a command line (ssh?) for Linux (or MacOSX?) read this:
http://jungels.net/articles/diff-patch-ten-minutes.html
most likely just go to the folder of the module and use
I have found that this notice comes up after applying both patches:
Notice: Undefined index: tokens in _seo_ui_alter_metatags() (in line 186 of .../sites/all/modules/seo_ui/seo_ui.module).Comment #13
scottlozier commented# 7 Patch Works
Comment #14
gianfrasoft commented# 7 Patch doesn't works for me :(
After applying it, notices went away but submitting a new node with metatags an error occurring and Drupal stopped working. Here is the message:
Please help... Thank you!
Comment #15
jessebeach commentedThese are the notices referenced in the issue:
I'll ping @effulgentsia for a review.
Comment #16
effulgentsia commentedLooks good.
Comment #17
icampanaSeems ok to me too, tried it on a Drupal 7.18 installation and works fine.
Comment #18
Priyanka Shetty commentedHad the same issue, the Patch works fine!
Comment #19
jrwilson commentedThe patches in this thread have not been released into a stable version. Will this occur or use dev, git or another project to use SEO?
Comment #20
jcnventuraThe patch in #2349129: Undefined index title, and fatal error when combined with Metatag 7.x-1.17 is more complete, and includes all the changes in this patch. Closing this one as a duplicate because of that.