WordPress.org

Support

Support » Plugins and Hacks » Simple Google Analytics » [Plugin: Simple Google Analytics] wp_enqueue_script was called incorrectly

[Plugin: Simple Google Analytics] wp_enqueue_script was called incorrectly

  • Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in […]/wp-includes/functions.php on line 3589

    when viewing the site with analytics code added in “Footer”.

    Actions->__construct()  …/simple_google_analytics.php:23
    Actions->addAll()       …/Actions.class.php:33
    Actions->addJS()        …/Actions.class.php:39
    wp_enqueue_script()     …/Actions.class.php:49
    _doing_it_wrong()       …/functions.wp-scripts.php:130
    trigger_error ()        …/functions.php:3589

    http://wordpress.org/extend/plugins/simple-google-analytics/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Simple Google Analytics] wp_enqueue_script was called incorrectly’ is closed to new replies.
Skip to toolbar