Support » Plugin: Smart YouTube PRO » [Resolved?] wp_register_script was called incorrectly

  • In case you update and get the “wp_register_script was called incorrectly” error, comment out lines 98 & 99:

    //$script_path = $this->plugin_url . '/javascripts/jquery.colorbox-min.js';
    		//wp_register_script( 'colorbox', $script_path );

    and add


    at line 124 (or any line in the filters_and_hooks method).

    WordPress v.3.4.2
    Smart-YouTube PRO v.4.1.7

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved?] wp_register_script was called incorrectly’ is closed to new replies.