I am currently working on a website that is built using the Poka 2 theme.
I am trying to use ACF Pro to create additional fields that are required but I can getting js errors in the console (see below).
Do you know a solution to this? I have already tried deactivating all plugins but this has not fixed it, switching themes made the fields work so it must be a theme issue.
Thanks in advance.
—–
post-new.php?post_type=acf-field-group:740 Uncaught TypeError: acf.newPostbox is not a function
at post-new.php?post_type=acf-field-group:740
(anonymous) @ post-new.php?post_type=acf-field-group:740
post-new.php?post_type=acf-field-group:825 Uncaught TypeError: acf.newPostbox is not a function
at post-new.php?post_type=acf-field-group:825
(anonymous) @ post-new.php?post_type=acf-field-group:825
post-new.php?post_type=acf-field-group:888 Uncaught TypeError: acf.doAction is not a function
at post-new.php?post_type=acf-field-group:888
(anonymous) @ post-new.php?post_type=acf-field-group:888
acf-input.min.js?ver=5.7.6:1 Uncaught TypeError: Cannot read property ‘outerHTML’ of undefined
at a.fn.init.$.fn.outerHTML (acf-input.min.js?ver=5.7.6:1)
at Object.update_field_meta (acf-field-group.min.js?ver=5.7.6:1)
at Object.wipe_field (acf-field-group.min.js?ver=5.7.6:1)
at Object.add_field (acf-field-group.min.js?ver=5.7.6:1)
at Object.add (acf-field-group.min.js?ver=5.7.6:1)
at HTMLAnchorElement.o (acf-input.min.js?ver=5.7.6:1)
at HTMLDocument.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable,jquery-u&load[]=i-position,jquery-ui-draggable,wp-pointer&ver=4.9.8:formatted:2117)
at HTMLDocument.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-resizable,jquery-u&load[]=i-position,jquery-ui-draggable,wp-pointer&ver=4.9.8:formatted:1996)