Outbound Link Manager
wp_enqueue_script too early (1 post)

  1. llch
    Posted 3 years ago #

    Comment out line 232 on jquery enqueue will remove the warning message (Jquery should be enqueued by default anyway?)

    [08-Jul-2013 06:24:20 UTC] Backtrace from warning 'wp_enqueue_script was called <strong>incorrectly</strong>. Scripts and styles should not be registered or enqueued until the <code>wp_enqueue_scripts</code>, <code>admin_enqueue_scripts</code>, or <code>init</code> hooks. Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 3.3.)' at /wordpress/wp-includes/functions.php 2962:
    /wordpress/index.php 17 calling require()
    /wordpress/wp-blog-header.php 12 calling require_once()
    /wordpress/wp-load.php 29 calling require_once()
    /wordpress/wp-config.php 81 calling require_once()
    /wordpress/wp-settings.php 195 calling include_once()
    /wordpress/wp-content/plugins/outbound-link-manager/links-manager.php 232 calling wp_enqueue_script()
    /wordpress/wp-includes/functions.wp-scripts.php 130 calling _doing_it_wrong()
    /wordpress/wp-includes/functions.php 2962 calling trigger_error()


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Outbound Link Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.