Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I got the following errors when enabling the xmlsitemap modules:
Notice: Undefined index: taxonomy_term in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: bundles in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: tags in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: admin in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: real path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 21 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: travel_region in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: admin in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: real path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 21 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: travel_party in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: admin in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: real path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 21 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: travel_type in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: admin in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: real path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 21 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: slideshow_location in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: admin in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: real path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 21 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Warning: Invalid argument supplied for foreach() in xmlsitemap_get_link_type_enabled_bundles() (regel 966 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap.module).
Notice: Undefined index: taxonomy_term in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: bundles in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: tags in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: admin in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: real path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 21 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: travel_region in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: admin in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: real path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 21 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: travel_party in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: admin in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: real path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 21 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: travel_type in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: admin in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: real path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 21 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: slideshow_location in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: admin in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 20 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Notice: Undefined index: real path in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() (regel 21 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap_taxonomy/xmlsitemap_taxonomy.module).
Warning: Invalid argument supplied for foreach() in xmlsitemap_get_link_type_enabled_bundles() (regel 966 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap.module).
Notice: Undefined index: date-field in _token_build_tree() (regel 737 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/token/token.module).
Warning: Invalid argument supplied for foreach() in _token_build_tree() (regel 737 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/token/token.module).
Notice: Undefined index: datestamp-field in _token_build_tree() (regel 737 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/token/token.module).
Warning: Invalid argument supplied for foreach() in _token_build_tree() (regel 737 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/token/token.module).
Notice: Undefined index: datetime-field in _token_build_tree() (regel 737 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/token/token.module).
Warning: Invalid argument supplied for foreach() in _token_build_tree() (regel 737 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/token/token.module).
and
Warning: Invalid argument supplied for foreach() in xmlsitemap_get_link_type_enabled_bundles() (regel 966 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap.module).
Warning: Invalid argument supplied for foreach() in xmlsitemap_get_link_type_enabled_bundles() (regel 966 van /srv/www/kaipara_nl/dev/htdocs/sites/all/modules/xmlsitemap/xmlsitemap.module).
Comments
Comment #1
joostvdl CreditAttribution: joostvdl commentedComment #2
joostvdl CreditAttribution: joostvdl commentedThese errors keep returning. So not only on install.
Comment #3
Mamouri CreditAttribution: Mamouri commentedIt occurs for me every time I clear the cache.
Comment #4
joostvdl CreditAttribution: joostvdl commentedAny update on this issue? Can one of the maintainers look into this please?
Comment #5
Dave ReidThe Warning: Invalid argument supplied for foreach errors are now fixed in 7.x-2.x-dev as a part of another issue.
Token errors are unrelated to XML sitemap.
The undefined index errors are odd because there's no way those should happen in xmlsitemap_taxonomy_xmlsitemap_link_info_alter() and have not been able to duplicate this. Maybe try and re-confirm using the latest code (7.x-2.x-dev)?
Comment #6
joostvdl CreditAttribution: joostvdl commentedProblem solved with latest dev release. Also the taxonomy issues are gone now.