• Resolved m__s_s

    (@m_s_s)


    Hi,

    When I activate the plugin with debug true, it shows:

    Notice: wp_register_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.) in /home/public_html/wp-includes/functions.php on line 3547

    I can create a scrollbox but it doesn’t appears, and firebug didn’t show any error.

    Thanks in advance

    https://www.ads-software.com/plugins/dreamgrow-scroll-triggered-box/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Eero Hermlin

    (@eero-hermlin)

    We have just released next version of plugin (2.1), usage of wp_register_script is now changed and should be correct.

    To figure out why it is not appearing, a bit more information is needed. Maybe you have checked “Admin only” checkbox and are looking the end-user view from other browser where you haven’t been logged in to WP?

    Thread Starter m__s_s

    (@m_s_s)

    Hi,

    I just update the plugin, and now works like a charm ??

    Thanks !!

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