wp_enqueue_style called to early Error
-
I have gotten this error though I am using 4.6.1
Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the
wp_enqueue_scripts
,admin_enqueue_scripts
, orlogin_enqueue_scripts
hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in C:\wamp64\www\EAR-Site\wp-includes\functions.php on lineHere is the full message (could not embed image or attach):
# Time Memory Function Location 1 0.0030 430400 {main}( ) ...\plugins.php:0 2 0.0060 499280 require_once( 'C:\wamp64\www\EAR-Site\wp-admin\admin.php' ) ...\plugins.php:10 3 0.0070 519648 require_once( 'C:\wamp64\www\EAR-Site\wp-load.php' ) ...\admin.php:31 4 0.0080 531264 require_once( 'C:\wamp64\www\EAR-Site\wp-config.php' ) ...\wp-load.php:39 5 0.0100 661912 require_once( 'C:\wamp64\www\EAR-Site\wp-settings.php' ) ...\wp-config.php:89 6 1.2941 32462656 include_once( 'C:\wamp64\www\EAR-Site\wp-content\plugins\woo-track-list-and-sample-player\woo-tlasp.php' ) ...\wp-settings.php:273 7 1.2951 32464368 wp_enqueue_style( ) ...\woo-tlasp.php:29 8 1.2951 32464632 _wp_scripts_maybe_doing_it_wrong( ) ...\functions.wp-styles.php:164 9 1.2951 32465176 _doing_it_wrong( ) ...\functions.wp-scripts.php:46 10 1.2951 32466592 trigger_error ( ) ...\functions.php:3996
I know you may not be maintaining this but it looks like what I need. Thanks for your consideration.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘wp_enqueue_style called to early Error’ is closed to new replies.