Tags:
Website developer Wordpress

Solution for this, The hook name can only contain numbers, letters, dashes, periods and underscores, WP 5.0.2 and ACF

Solution for this, The hook name can only contain numbers, letters, dashes, periods and underscores.
Environment:
Wordpress:5.0.2

Error message:
…The hook name can only contain numbers, letters, dashes, periods and underscores. hooks.min.js:1:1495
o
http://localhost:8888/esse/wp-includes/js/dist/hooks.min.js:1:1495
i/<
http://localhost:8888/esse/wp-includes/js/dist/hooks.min.js:1:1707
add_action
http://localhost:8888/esse/wp-content/plugins/advanced-custom-fields-pro/assets/js/acf-input.min.js:1:1933

http://localhost:8888/esse/wp-content/plugins/acf-enhanced-message-field/js/input.js:19:2

http://localhost:8888/esse/wp-content/plugins/acf-enhanced-message-field/js/input.js:1:2
..

Resulting the ACF repeater won’ t save the content. Any solution?

1- After a long time investigating it looks like ACF(Avanced Custom Field), or/and ACF Repeater & Flexible Content Collapser is not working on the WordPress Version 5.0.2.
The urgent and quick solution for me was going back the previous version of WordPress.
WP version 5.0.2 and ACF

Leave a Reply