taxonomy_overview_terms undefined index (repeatable)

Created on 22 January 2015, almost 10 years ago
Updated 12 May 2023, over 1 year ago

I have a page where I have two forms. One is the taxonomy_overview_terms form, the other is a custom made "enter a few values" form. When I submit the custom made form. I get error messages:

Notice: Undefined index: tid:152:0 in taxonomy_overview_terms() (line 352 of [...]/drupal-7.34/modules/taxonomy/taxonomy.admin.inc).

What seems to happen is that taxonomy_overview_terms is called, it assumes that the $form_state['input'] only can contain data relevant to its own form, and it tries to access $form_state['input']['tid:152:0'] - and since that's not the form that was used, that is of course undefined; hence the warning.

To repeat: Get a drupal 7.34 out of the box. Add a vocabulary with a few terms. Get (for instance) the Search block to show on the same page as the vocabulary list page. Fill in something to search for, and click search (that is, submit something in the non-taxonomy form), see error messages appear.

🐛 Bug report
Status

Fixed

Version

7.0 ⚰️

Component
Taxonomy 

Last updated 43 minutes ago

  • Maintained by
  • 🇺🇸United States @xjm
  • 🇬🇧United Kingdom @catch
Created by

🇸🇪Sweden monika.danielsson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024