TEST

Gutenberg and ACF Pro:

TypeError: Object(...) is not a function

Gutenberg and ACF Pro

I updated to WordPress 5.0 and have an unauthorized copy of ACF Pro running on my install.  I was getting the following error message when trying to add any block to a post:

TypeError: Object(...) is not a function

The Fix:

Manually edit the file /plugins/advanced-custom-fields-pro/assets/js/acf-input.min.js and replace all instances of wp.hooks with wp.acf_hooks.

Clear cache.

© 2018 – TonyCiccarone.com | RI Web Development