acf-svg-icon
acf-svg-icon copied to clipboard
Plugin no longer compatible with ACF Version 6.0
Hey, this version 1.01 does no longer work with ACF Version 6.0 after their visual update.
I get an error message and cannot open my fields because the javascript is breaking:
Uncaught TypeError: Cannot read properties of undefined (reading 'allow_null')
Not sure if this is a quick fix or a deeper issue. I might take a look at it myself the next days.
Hy @DaveWoody ,
I haven't been using PHP and WordPress for three years now :/
I opened an issue to find maintainers #10 if your are interested.
Hi, editing assets/js/input.js
file line 78 helped to get the plugin back to working state
if (el_select_args) { acf.select2.init( $el_select, el_select_args, $el ); }