• Resolved hartmutnz

    (@hartmutnz)


    Hi, tested the site in debug mode and get this message:

    Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the
    wp_enqueue_scripts

    Any ideas how to fix that?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Tim Nicholson

    (@timnicholson)

    The theme doesn’t actually make any calls to wp_register_script. Could it be a plugin that you are using causing that error? Take a look at functions.php and you’ll see I’m using wp_enqueue_script. Also note that whole section is specifically triggered by wp_enqueue_scripts, meaning its called at the right time that error message suggests.

    Thread Starter hartmutnz

    (@hartmutnz)

    ..could be another theme that’s still on the server.. I’ll check that. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘debug error message’ is closed to new replies.