• Resolved ktrusak

    (@ktrusak)


    I am pretty new to all this, I am having a problem with a tab plugin. I think I found the problem;I am running a support ticket plugin inside of wp ui tabs and it is causing a jquery conflict. Is there anyway to change how jquery is loaded so there is no conflict?

    Test Page

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter ktrusak

    (@ktrusak)

    Some results I’ve seen say it is a problem with how jquery is loaded in the header, but I am not sure how to fix it. Here is that portion of my header.php:

    <?php
    remove_action('wp_head', 'wp_generator');
    wp_enqueue_script('jquery');
    if ( is_singular() && get_option( 'thread_comments' ) ) {
    	wp_enqueue_script( 'comment-reply' );
    }
    wp_head(); ?>

    If you have some time before the deadline, I would contact the developers of both plugins and submit a bug report. For a dev, it’s not hard to fix.(sounds like one of them is not using the built in library.) If you are on a time crunch, or they fail to fix their mess, post a link to both plugins and I’ll try my hand at it.

    No, your theme is doing it right. It’s one of the plugins loading js wrong.

    Thread Starter ktrusak

    (@ktrusak)

    Thanks for the reply Matthew.

    I sent in a bug report to wpsc Support Tickets. It must be them because I have other Jquery stuff that runs in wp ui tabs and doesn’t cause problems.

    Thread Starter ktrusak

    (@ktrusak)

    I am getting this message:

    Uncaught TypeError: Object #<bkClass> has no method ‘removeInstance’

    Could this cause some jquery problems?

    I’m no expert in jquery, but that is definitely a jquery error. I tried to reproduce the error, but I couldn’t. Where exactly are you getting the error? I tried submitting a support ticket, and it registered correctly.

    Thread Starter ktrusak

    (@ktrusak)

    That is just under the normal console screen when you do the right-click, inspect element on Google Chrome. It appears everytime on the support ticket page.

    Weirdest thing, it worked fine before, now it’s loading the toolbar twice. I’m afraid it’s over my head. The problem is in the editor they are loading, but I’m not going to be able to solve it.

    Here is that portion of my header.php:

    why are you enqueuing jQuery in header.php when WP loads jQuery by default anyway?

    Thread Starter ktrusak

    (@ktrusak)

    It is an artisteer generated theme, so I didn’t make the header per se. Should I remove/move it? Someone suggested it be in the functions file

    Just remove it. It’s not needed.

    Thread Starter ktrusak

    (@ktrusak)

    Okay, I did. That didn’t fix anything, but then again I don’t think that’s why you suggested it. Do you know of any way to fix the loading problem esmi?

    Just to clarify things, its the support page and it is loading those forms, but the page should load looking like it does if you click ‘cancel’ on both the new form and reply form.

    You’d need to look at how the plugin and theme are loading their jQuery scripts. An artisteer generated theme doesn’t normally incorporate any jQuery, so don’t rule out the possibility of another plugin causing the conflict. One of the two is loading jQuery incorrectly but beyond that there’s little else I can add at this stage.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Jquery Loading Twice’ is closed to new replies.