JS error - Uncaught TypeError: Cannot set properties of undefined (setting 'createTag')

Created on 8 May 2022, over 2 years ago
Updated 5 May 2023, over 1 year ago

Problem/Motivation

When I am on the edit or add page for a content type and select2 is enabled, I get the following:
Using select2 v4.0.5

Uncaught TypeError: Cannot set properties of undefined (setting 'createTag')
at HTMLSelectElement. (select2.js?rbkbmi:12:26)
at Function.each (jquery.min.js?v=3.6.0:2:3003)
at S.fn.init.each (jquery.min.js?v=3.6.0:2:1481)
at Object.attach (select2.js?rbkbmi:10:58)
at drupal.js?v=9.2.18:27:24
at Array.forEach ()
at Object.Drupal.attachBehaviors (drupal.js?v=9.2.18:24:34)
at drupal.init.js?v=9.2.18:29:12
at HTMLDocument.listener (drupal.init.js?v=9.2.18:17:7)
(anonymous) @ select2.js?rbkbmi:12
each @ jquery.min.js?v=3.6.0:2
each @ jquery.min.js?v=3.6.0:2
attach @ select2.js?rbkbmi:10
(anonymous) @ drupal.js?v=9.2.18:27
Drupal.attachBehaviors @ drupal.js?v=9.2.18:24
(anonymous) @ drupal.init.js?v=9.2.18:29
listener @ drupal.init.js?v=9.2.18:17
setTimeout (async)
Drupal.throwError @ drupal.js?v=9.2.18:15
(anonymous) @ drupal.js?v=9.2.18:29
Drupal.attachBehaviors @ drupal.js?v=9.2.18:24
(anonymous) @ drupal.init.js?v=9.2.18:29
listener @ drupal.init.js?v=9.2.18:17

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Postponed: needs info

Version

1.13

Component

Render element

Created by

🇺🇸United States SocialNicheGuru

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