acf-svg-icon icon indicating copy to clipboard operation
acf-svg-icon copied to clipboard

Plugin no longer compatible with ACF Version 6.0

Open heydavee opened this issue 2 years ago • 3 comments

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.

heydavee avatar Oct 21 '22 12:10 heydavee

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.

7studio avatar Oct 28 '22 09:10 7studio

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 ); }

shoot56 avatar Oct 28 '22 14:10 shoot56