Title: jQuery Object blockUI
Last modified: August 21, 2016

---

# jQuery Object blockUI

 *  [faeronsayn](https://wordpress.org/support/users/faeronsayn/)
 * (@faeronsayn)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/jquery-object-blockui/)
 * Sorry if this error has already been reported, but I couldn’t seem to find it.
 * Uncaught TypeError: Object function (a,b){return new p.fn.init(a,b,c)} has no
   method ‘blockUI’
 * [http://wordpress.org/extend/plugins/wp-ajaxify-comments/](http://wordpress.org/extend/plugins/wp-ajaxify-comments/)

Viewing 15 replies - 1 through 15 (of 15 total)

 *  [janjonas](https://wordpress.org/support/users/janjonas/)
 * (@janjonas)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/jquery-object-blockui/#post-3894327)
 * Could you please send me a link to a page where I can reproduce the problem?
 *  Thread Starter [faeronsayn](https://wordpress.org/support/users/faeronsayn/)
 * (@faeronsayn)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/jquery-object-blockui/#post-3894381)
 * Sorry for such a late reply.
 * But here is a page that you can use that has the error: [http://phanime.com/48639/makai-ouji-devils-and-realist-online-episode-1/](http://phanime.com/48639/makai-ouji-devils-and-realist-online-episode-1/)
 * Each page with the comments form on it has the error. Because of this error the
   ajax submission or normal submission for that matter does not work.
 *  [janjonas](https://wordpress.org/support/users/janjonas/)
 * (@janjonas)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/jquery-object-blockui/#post-3894384)
 * The problem is that your page includes jQuery twice. The second include overrides/
   deletes all jQuery plugins (like the blockUI plugin).
 * On [http://phanime.com/48639/makai-ouji-devils-and-realist-online-episode-1/](http://phanime.com/48639/makai-ouji-devils-and-realist-online-episode-1/)
   you find the second include in line 712:
 * <script src=”//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js”></script
   >
 * You have to find out if your theme or any other plugin causes this script tag…
 * Hope this helps.
 *  Thread Starter [faeronsayn](https://wordpress.org/support/users/faeronsayn/)
 * (@faeronsayn)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/jquery-object-blockui/#post-3894385)
 * Where is the first include?
 *  Thread Starter [faeronsayn](https://wordpress.org/support/users/faeronsayn/)
 * (@faeronsayn)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/jquery-object-blockui/#post-3894386)
 * I need to see the code, is it local or hosted elsewhere like google.
 *  [janjonas](https://wordpress.org/support/users/janjonas/)
 * (@janjonas)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/jquery-object-blockui/#post-3894388)
 * You just have to take a look into the source code of your page:
 * Line 94.
    <script type=’text/javascript’ src=’[http://phanime.com/wp-includes/js/jquery/jquery.js?ver=1.8.3′></script&gt](http://phanime.com/wp-includes/js/jquery/jquery.js?ver=1.8.3′></script&gt);
 *  Thread Starter [faeronsayn](https://wordpress.org/support/users/faeronsayn/)
 * (@faeronsayn)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/jquery-object-blockui/#post-3894392)
 * Alright, I’ve removed the second jQuery call. Now a red border appears whenever
   I type something in the comment box and when clicking post comment nothing happens.
   As for the console errors, I don’t see anything either.
 *  [janjonas](https://wordpress.org/support/users/janjonas/)
 * (@janjonas)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/jquery-object-blockui/#post-3894393)
 * Now you get the error:
    “TypeError: $ is not a function” (line 713)
 * in this line
    “$(document).ready(function(){“
 * => “$” needs to be replaced by “jQuery”
 * I would recommend to disable all plugins and then reactivate them step by step
   and always take a look at the JavaScript console of the browser to find out which
   plugin causes the erro.
 * Hope this helps…
 *  Thread Starter [faeronsayn](https://wordpress.org/support/users/faeronsayn/)
 * (@faeronsayn)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/jquery-object-blockui/#post-3894405)
 * Why does $ need to be replaced by jQuery? I’ve been using it before and it hasn’t
   caused any problems. Anyway, I have replaced it by jQuery WP-Ajaxify-Comments
   plugin is still not working. The comments are just not being posted.
 *  Thread Starter [faeronsayn](https://wordpress.org/support/users/faeronsayn/)
 * (@faeronsayn)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/jquery-object-blockui/#post-3894407)
 * You can try it here: [http://phanime.com/48191/love-lab-online-episode-3/](http://phanime.com/48191/love-lab-online-episode-3/)
 * I’ve also enabled debug mode, and it didn’t show anything wrong there.
 *  [janjonas](https://wordpress.org/support/users/janjonas/)
 * (@janjonas)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/jquery-object-blockui/#post-3894413)
 * Hi,
 * you have to use jQuery instead of $ because jQuery by default WordPress includes
   jQuery in the “no config mode” (see [http://blog.janjonas.net/2012-04-15/wordpress-jquery-fix-javascript-error-is-not-a-function](http://blog.janjonas.net/2012-04-15/wordpress-jquery-fix-javascript-error-is-not-a-function)).
 * As far as I’ve tested your page the WP-Ajaxify-Comments plugin is working…
 *  Thread Starter [faeronsayn](https://wordpress.org/support/users/faeronsayn/)
 * (@faeronsayn)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/jquery-object-blockui/#post-3894414)
 * I wonder why it isn’t working for me. Does it show a red border when you start
   typing?
 *  [janjonas](https://wordpress.org/support/users/janjonas/)
 * (@janjonas)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/jquery-object-blockui/#post-3894415)
 * Yes, but the red border is not caused by my plugin. This functionality is part
   of your theme or any other plugin. When I typed in all information I was able
   to submit a comment which was handled/ajaxified by the WP-Ajaxify-Comments plugin.
 *  Thread Starter [faeronsayn](https://wordpress.org/support/users/faeronsayn/)
 * (@faeronsayn)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/jquery-object-blockui/#post-3894416)
 * It seems to work perfectly fine when logged out. However, when logged in you 
   are not able to submit a comment.
 *  [janjonas](https://wordpress.org/support/users/janjonas/)
 * (@janjonas)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/jquery-object-blockui/#post-3894417)
 * Could you provide me login credentials to reproduce the problem?
    You can send
   me a private message here: [http://blog.janjonas.net/contact](http://blog.janjonas.net/contact)

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘jQuery Object blockUI’ is closed to new replies.

 * ![](https://ps.w.org/wp-ajaxify-comments/assets/icon-256x256.png?rev=2962290)
 * [Ajaxify Comments - Ajax and Lazy Loading Comments](https://wordpress.org/plugins/wp-ajaxify-comments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ajaxify-comments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ajaxify-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ajaxify-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ajaxify-comments/reviews/)

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)

 * 15 replies
 * 2 participants
 * Last reply from: [janjonas](https://wordpress.org/support/users/janjonas/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/jquery-object-blockui/#post-3894417)
 * Status: not resolved