CMB2 / CMB2

CMB2 is a developer's toolkit for building metaboxes, custom fields, and forms for WordPress that will blow your mind.
GNU General Public License v3.0
2.96k stars 572 forks source link

Not Working With WordPress 5.5 #1367

Closed tosunkaya closed 4 years ago

tosunkaya commented 4 years ago

CMB2 isn't working with WordPress 5.5 Please update.

They updated fields on the new version.

tw2113 commented 4 years ago

In what way is it not working for you? Not saving some things? errors being thrown just by loading a page with some CMB2 build fields in place? Something else?

I checked one of my own personal sites that makes heavy use of CMB2 latest, and is on WP 5.5 and wasn't seeing anything the matter. So any information you could provide for what you're seeing would be a big help.

tosunkaya commented 4 years ago

I can't click any button like change public date, publicity, some JS problem. Even couldn't disable CMB2 from plugins page. WordPress 5.5 is too problematic. Downgraded to 5.4.2 fully works.

jtsternberg commented 4 years ago

Not seeing any issues. It's likely a conflict w/ the theme or other plugins, or custom code. You'll have to look in your debug/error logs to see what's happening.

huxh123123 commented 4 years ago

Screenshot (111)

jtsternberg commented 4 years ago

CMB2_ICON is not a thing in CMB2 at all. Again, looks like another plugin, the theme, or custom code is the culprit. https://github.com/CMB2/CMB2/search?q=CMB2_ICON&unscoped_q=CMB2_ICON

moisb commented 4 years ago

I have the same problem. Everything was working perfectly until today I upgraded to Wordpress 5.5, after that (I did not update any other plugins) the CMB2 fields stopped working.

Until now i realized that the fields stopped working: multiselect option text_date (date picker)

On console I see an error related to the icon.js file: wp-coupon/inc/metabox-addons/icon/icon.js?ver=true https://pasteboard.co/Jmu0Pcg.jpg

Uncaught ReferenceError: CMB2_ICON is not defined at HTMLDocument. (icon.js?ver=true:6) at i (load-scripts.php?c=0&load[chunk_0]=jquery,utils&ver=5.5:2)

I saw that this error also conflicts (break) fields created by Advanced Custom Field and the Metabox of Yoast SEO: https://pasteboard.co/JmtZY0a.jpg

My theme is WP Coupon from Famethemes.

jtsternberg commented 4 years ago

Your best bet is to find out what where that CMB2_ICON thing is and report the issue to whoever has it. This is not a CMB2 core thing.