Support » Plugin: Pinterest "Pin It" Button » Error registering jquery or scripts

  • Resolved chrisneetz

    (@chrisneetz)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Phil Derksen

    (@pderksen)

    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.

    Plugin Author Phil Derksen

    (@pderksen)

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error registering jquery or scripts’ is closed to new replies.