(reposting my comment from above as I’m unable to mark it ‘public’):
I’m seeing this too. A reduced version of the code that causes it for me (pasted at the top of twentyseventeen’s functions.php):
function my_setup() {
if(function_exists('get_field')) {
$ga = get_field('google_analytics_id', 'option'); // text field
}
}
add_action('after_setup_theme','my_setup');
gives:
Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /wp-includes/functions.php on line 4138
@hube2 after_theme_setup isn’t a valid hook.
This reply has been marked as private.
I’m also looking forward to ACF5 widget compatibility with the Page Builder plugin. Thanks for working on this, Elliot!