Home Forums General Issues Admin errors since 5.5.13 PRO update Reply To: Admin errors since 5.5.13 PRO update

  • (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


    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