Viewing 2 replies - 1 through 2 (of 2 total)
  • replace line 31 with:

    define( 'TABBER_TABS_DIR', plugins_url('tabber-tabs-widget/'));

    Presume you also get error on line 125?

    replace line 125 with:

    if (isset($widgetcolums[$index])) return true;

    on one more note for the errors to correct the “Notice: wp_enqueue_script was called incorrectly” error message

    Replace with:

    if ( !is_admin() ) {
        add_action('wp_enqueue_scripts', 'enqueue_scripts');
    }   
    
    function enqueue_scripts() {
        wp_deregister_script('tabbertabs');
        wp_register_script('tabbertabs', TABBER_TABS_DIR . 'js/tabber-minimized.js');
        wp_enqueue_script('tabbertabs');
    };
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘tabber tabs error in debug mode’ is closed to new replies.