[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
- The topic ‘[Plugin: Simple Google Analytics] wp_enqueue_script was called incorrectly’ is closed to new replies.