Make WordPress Core

Opened 2 years ago

Closed 2 weeks ago

#52541 closed defect (bug) (invalid)

Exception in SEO Code when using MaxGalleria

Reported by: markolbert's profile MarkOlbert Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.6.1
Component: General Keywords:
Focuses: ui Cc:


The reported error is "Uncaught TypeError: e(...).select2 is not a function".

I am referring this from the developers of MaxGalleria, to whom I first reported a problem. Their research uncovered this problem.

It manifests itself as a failure of the media selection "dialog" to set up properly, display media files and select them. More specifically, it occurred when I tried to add an image to a MaxGalleria image gallery.

Attachments (1)

exception-screen-capture.png (80.8 KB) - added by MarkOlbert 2 years ago.

Download all attachments as: .zip

Change History (3)

This ticket was mentioned in Slack in #forums by bedas. View the logs.

2 years ago

#2 @sabernhardt
2 weeks ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi and thanks for the report!

According to a MaxGalleria forum post, this was a conflict with the select2 script in Yoast SEO. The Yoast SEO GitHub repository contains similar issues. The plugin apparently replaced select2, so these conflicts should not occur anymore.

Because this was a plugin issue instead of WordPress Core, I'll use the 'invalid' resolution.

Note: See TracTickets for help on using tickets.