Conflict between CPT-UI and ACF Pro in the block editor?
-
Hi,
I have encountered an unusual issue today using CPT-UI with the block editor. This is the first time I have used the two together.
Running WP 5.0.3, I added a custom post type ‘production’. All good, works as expected, can add content and publish posts.
Then I added a custom taxonomy ‘status’, added a term, and assigned it to the production post type. Now when I try to add a new production post, I cannot publish it. On posts that are already published, the ‘Update’ button has switched back to ‘Publish’ even though it is already published. Clicking on it causes a “Publish Failed” error. As soon as I remove the custom taxonomy from the custom post type, the Update button reappears and everything behaves again.
Looking in the console, I see this error:
react-dom.min.js?ver=16.6.3:17 Uncaught TypeError: t.filter is not a function at Object.c.uniqueArray (acf-input.min.js?ver=5.7.10:1) at acf.Model.getPostTerms (acf-input.min.js?ver=5.7.10:3) at acf.Model.check (acf-input.min.js?ver=5.7.10:3) at acf.Model.triggerChange (acf-input.min.js?ver=5.7.10:3) at acf.Model.onChange (acf-input.min.js?ver=5.7.10:3) at d (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils&ver=5.0.3:2) at data.min.js?ver=4.2.0:1 at Array.forEach (<anonymous>) at n (data.min.js?ver=4.2.0:1) at data.min.js?ver=4.2.0:1
It looks like the errors suggest a conflict with the Advanced Custom Fields Plugin? I have informed them of this too. If this is not the right place to post this sort of thing, I do apologise.
Thanks,
- The topic ‘Conflict between CPT-UI and ACF Pro in the block editor?’ is closed to new replies.