WordPress.org

Ready to get started?Download WordPress

Forums

Pinterest "Pin It" Button
[resolved] Error registering jquery or scripts (3 posts)

  1. chrisneetz
    Member
    Posted 1 year ago #

    I am getting this error message in debug when I activate the plugin. It might be something that they are addressing in the latest release and how you are loading the scripts.

    Notice: wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/vhosts/realfoodforhumans.com/httpdocs/wp-includes/functions.php on line 2959 Notice: wp_script_is was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/vhosts/realfoodforhumans.com/httpdocs/wp-includes/functions.php on line 2959

    http://wordpress.org/extend/plugins/pinterest-pin-it-button/

  2. Phil Derksen
    Member
    Plugin Author

    Posted 1 year ago #

    I don't see this and I have WP_DEBUG running during development. Also, I don't call wp_register_style in my code anywhere. Just wp_enqueue_style.

  3. Phil Derksen
    Member
    Plugin Author

    Posted 1 year ago #

    Marking resolved. Haven't heard of this issue since.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags