Support » Plugin: Chamber Dashboard Business Directory » wp_enqueue_script was called incorrectly

  • Resolved Daniel Payne


    I just read about your set of four plugins, however when I added this first plugin it started throwing error notices:

    Notice: wp_enqueue_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 /homepages/46/d271605949/htdocs/tualatinweb/membership/wp-includes/functions.php on line 4138

Viewing 3 replies - 1 through 3 (of 3 total)
  • I experienced this too, when a site is in WP_DEBUG mode.

    Thread Starter Daniel Payne



    Good eye.

    I just updated my wp-config.php file and removed the WP_DEBUG setting, so that notice no longer appears, however shouldn’t this plugin fix their code while using WP_DEBUG mode?

    Plugin Contributor


    Hi Guys,
    We appreciate the feedback and have fixed this code.

    Thanks for using Chamber Dashboard!
    -Lisa K.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp_enqueue_script was called incorrectly’ is closed to new replies.