codepress / admin-columns-issues

Issues for Admin Columns Pro
https://www.admincolumns.com/
11 stars 0 forks source link

Error: No select2/compat/dropdownCss #1285

Closed joseluis closed 4 years ago

joseluis commented 4 years ago

Hi, I'm having a problem with Admin Columns, it doesn't show any fields in the custom field dropdown. This is the error in console:

Error: No select2/compat/dropdownCss select2.min.js:1:1449
    j select2.min.js:1
    n select2.min.js:1
    g select2.min.js:1
    apply select2.min.js:2
    e select2.min.js:2
    e select2.min.js:2
    select2 select2.min.js:3
    jQuery 2
    select2 select2.min.js:3
    bindEvents custom-field.js:92
    jQuery 3
    getOptions custom-field.js:36
    _emit index.js:160
    emit index.js:26
    getOptions custom-field.js:45
    jQuery 4

And, if I save a column showing an unselected custom field (blank)... In that column it shows the content of all fields, for that post type, as a long string...

DGStefan commented 4 years ago

Can you have a look which version of select2 is loaded on your environment? In your console you should be able to see from which location (plugin) the select2 library is loaded

joseluis commented 4 years ago

Version 1.15

DGStefan commented 4 years ago

That sounds highly unlikely since select2 is already on version 4. Can you tell me from which plugin the file was loaded?

joseluis commented 4 years ago

Oh, sorry I think I copied a URL GET argument instead of the version shown inside the js... It was really version 4.03.

I found out it came from a theme framework plugin, that was not needed at all, that I could disable and the problem is now solved.

Thank you very much for your time.