WordPress.org

Ready to get started?Download WordPress

Forums

Smart YouTube PRO
wp_register_script bug (1 post)

  1. slaterino
    Member
    Posted 2 months ago #

    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/

Reply

You must log in to post.

About this Plugin

About this Topic