WordPress.org

Support

Support » Plugins and Hacks » wp_register_script bug

wp_register_script bug

  • Hi,
    I absolutely love this plugin and have used it for years now. It really has made adding videos so much easier. However, I did recently find a bug. This message has been coming up in my debug.log:

    “[02-Jul-2014 11:13:47 UTC] PHP 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 “FILENAME.php” on line 3245″

    I deactivated my Plugins one by one and eventually found that the cause was this plugin. Does anyone know how to fix this or are there plans for a plugin update?

    Thanks,
    Russ

    https://wordpress.org/plugins/smart-youtube/

  • The topic ‘wp_register_script bug’ is closed to new replies.