I have this new warning :(

Notice : Undefined index: #name in metatag_html_head_alter() (line 2071 in metatag/metatag.module).
Notice : Undefined index: #name in metatag_html_head_alter() (line 2063 in metatag/metatag.module).

Comments

LeoPx created an issue. See original summary.

LeoPx’s picture

Issue summary: View changes
damienmckenna’s picture

rajeev_drupal’s picture

Assigned: Unassigned » rajeev_drupal
rajeev_drupal’s picture

Issue is not replicating. Please provide more deatils.

Thanks,
Rajeev

damienmckenna’s picture

Version: 7.x-1.13 » 7.x-1.x-dev
Assigned: rajeev_drupal » Unassigned
StatusFileSize
new658 bytes

@LeoPx: Please install the Devel module and then apply this patch, and let me know what meta tag array is displayed - note, the patch will stop the error from happening, but only to make it easier to see what's going on. Thanks.

damienmckenna’s picture

Category: Bug report » Support request
markplindsay’s picture

Hi Damien, I'm getting this one too. I have 3 $metatag_name/$metatag pairs printed via dpm:

metatag_description
... (Array, 3 elements)
#type (String, 8 characters ) html_tag
#tag (String, 4 characters ) meta
#attributes (Array, 2 elements)
name (String, 11 characters ) description
content (String, 128 characters ) redacted...
Krumo version 0.2.1a | http://krumo.sourceforge.net Click to expand. Double-click to show path. Called from /srv/www/redacted/metatag.module, line 2058  


metatag_og_description
... (Array, 3 elements)
#type (String, 8 characters ) html_tag
#tag (String, 4 characters ) meta
#attributes (Array, 2 elements)
property (String, 14 characters ) og:description
content (String, 128 characters ) redacted...
Krumo version 0.2.1a | http://krumo.sourceforge.net Click to expand. Double-click to show path. Called from /srv/www/redacted/metatag.module, line 2058  


metatag_keywords
... (Array, 3 elements)
#type (String, 8 characters ) html_tag
#tag (String, 4 characters ) meta
#attributes (Array, 2 elements)
name (String, 8 characters ) keywords
content (String, 117 characters ) redacted...
Krumo version 0.2.1a | http://krumo.sourceforge.net Click to expand. Double-click to show path. Called from /srv/www/redacted/metatag.module, line 2058  

Here are the modules I have installed:

 Name                                   Installed version  Proposed version  Status
 Administration menu (admin_menu)       7.x-3.0-rc5        7.x-3.0-rc5       Up to date
 Drupal                                 7.43               7.43              Up to date
 Boost (boost)                          7.x-1.0            7.x-1.0           Up to date
 Colors (colors)                        7.x-1.0-rc1        7.x-1.0-rc1       Up to date
 Chaos tools (ctools)                   7.x-1.9            7.x-1.9           Up to date
 Date (date)                            7.x-2.9            7.x-2.9           Up to date
 Devel (devel)                          7.x-1.5            7.x-1.5           Up to date
 Entity API (entity)                    7.x-1.6            7.x-1.6           Up to date
 Field collection (field_collection)    7.x-1.0-beta11     7.x-1.0-beta11    Up to date
 jQuery Update (jquery_update)          7.x-2.7            7.x-2.7           Up to date
 JSON2 javascript library (json2)       7.x-1.1            7.x-1.1           Up to date
 Libraries (libraries)                  7.x-2.2            7.x-2.2           Up to date
 Link (link)                            7.x-1.4            7.x-1.4           Up to date
 Login Destination (login_destination)  7.x-1.4            7.x-1.4           Up to date
 Menu Block (menu_block)                7.x-2.7            7.x-2.7           Up to date
 Metatag (metatag)                      7.x-1.13           7.x-1.13          Up to date
 References (references)                7.x-2.1            7.x-2.1           Up to date
 Nodequeue (nodequeue)                  7.x-2.0            7.x-2.0           Up to date
 Pathauto (pathauto)                    7.x-1.3            7.x-1.3           Up to date
 Token (token)                          7.x-1.6            7.x-1.6           Up to date
 Wysiwyg (wysiwyg)                      7.x-2.2            7.x-2.2           Up to date

Please let me know if I can provide more info or help you in any way.

damienmckenna’s picture

Category: Support request » Bug report

Ah, yes. Thanks for that, it'll help fix this bug.

damienmckenna’s picture

Status: Active » Postponed (maintainer needs more info)
Parent issue: #2663006: Plan for Metatag 7.x-1.14 release »

Can someone please let me know if the problem persists in the latest -dev release? I'm not able to replicate the bug.

zorax’s picture

here are the metatag display with dpm, I just install the dev version :
metatag_geo
#type (String, 8 characters ) html_tag
#tag (String, 4 characters ) meta
#attributes (Array, 2 elements)
name (String, 12 characters ) Geo position
content (String, 30 characters ) 43.965681000000;3.857846000000

metatag_description
#type (String, 8 characters ) html_tag
#tag (String, 4 characters ) meta
#attributes (Array, 2 elements)
name (String, 11 characters ) description
content (String, 65 characters ) Ville de Saint Hippolyte du Fort , toutes les a...

metatag_title
#type (String, 8 characters ) html_tag
#tag (String, 4 characters ) meta
#attributes (Array, 2 elements)
name (String, 5 characters ) title
content (String, 32 characters ) Ville de Saint Hippolyte du Fort

damienmckenna’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new1.99 KB

Does this fix the bug for you?

damienmckenna’s picture

Could someone please check if the patch fixes the bug? Thanks.

  • DamienMcKenna committed 6c7ff55 on 7.x-1.x
    Issue #2669592 by DamienMcKenna: Fix for possible problem with removal...
damienmckenna’s picture

Status: Needs review » Fixed
Parent issue: » #2742169: Plan for Metatag 7.x-1.17 release

After some more testing I've decided to commit this.

Please let me know if you run into any other problems.

Status: Fixed » Closed (fixed)

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