Title: [Plugin: Crayon Syntax Highlighter] Newest Version Causing jQuery Errors&#8230;
Last modified: August 20, 2016

---

# [Plugin: Crayon Syntax Highlighter] Newest Version Causing jQuery Errors…

 *  [drbigfresh](https://wordpress.org/support/users/drbigfresh/)
 * (@drbigfresh)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-crayon-syntax-highlighter-newest-version-causing-jquery-errors/)
 * I just upgraded your plugin to the latest version, and it’s causing some conflict
   with the javascript window jquery object.
 * This is the error:
    Uncaught TypeError: Property ‘$’ of object [object Window]
   is not a function
 * and the error is appearing anywhere there is a:
    $(document).ready(function(){});
 * in the other scripts…
 * [http://wordpress.org/extend/plugins/crayon-syntax-highlighter/](http://wordpress.org/extend/plugins/crayon-syntax-highlighter/)

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

 *  [jasontremblay](https://wordpress.org/support/users/jasontremblay/)
 * (@jasontremblay)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-crayon-syntax-highlighter-newest-version-causing-jquery-errors/#post-2927110)
 * Yep, I’m also seeing this problem.
 *  Plugin Author [akarmenia](https://wordpress.org/support/users/akarmenia/)
 * (@akarmenia)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-crayon-syntax-highlighter-newest-version-causing-jquery-errors/#post-2927145)
 * I’ve added an issue:
 * [https://github.com/aramkocharyan/crayon-syntax-highlighter/issues/8](https://github.com/aramkocharyan/crayon-syntax-highlighter/issues/8)
 *  Plugin Author [akarmenia](https://wordpress.org/support/users/akarmenia/)
 * (@akarmenia)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-crayon-syntax-highlighter-newest-version-causing-jquery-errors/#post-2927146)
 * This is the only case it is used:
 *     ```
       $(document).ready(function() {
       	CrayonSyntax.init();
       });
       ```
   
 * Could you note the file and line of the error?
 *  [roketto](https://wordpress.org/support/users/roketto/)
 * (@roketto)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-crayon-syntax-highlighter-newest-version-causing-jquery-errors/#post-2927150)
 * Seem to be having this issue as well… Will post more after I look into it.
 *  [benwong.me](https://wordpress.org/support/users/benwongme/)
 * (@benwongme)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-crayon-syntax-highlighter-newest-version-causing-jquery-errors/#post-2927151)
 * I managed to fix this by adding the following line to the end of query.popup.
   js, which is the last JS file inserted by CrayonSyntax.
 * `$ = jQuery;`
 *  Plugin Author [akarmenia](https://wordpress.org/support/users/akarmenia/)
 * (@akarmenia)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-crayon-syntax-highlighter-newest-version-causing-jquery-errors/#post-2927152)
 * Thanks I’ll fix that shortly in a new release.

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

The topic ‘[Plugin: Crayon Syntax Highlighter] Newest Version Causing jQuery Errors…’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/crayon-syntax-highlighter_b0c4c0.
   svg)
 * [Crayon Syntax Highlighter](https://wordpress.org/plugins/crayon-syntax-highlighter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/crayon-syntax-highlighter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/crayon-syntax-highlighter/)
 * [Active Topics](https://wordpress.org/support/plugin/crayon-syntax-highlighter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/crayon-syntax-highlighter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/crayon-syntax-highlighter/reviews/)

## Tags

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

 * 6 replies
 * 5 participants
 * Last reply from: [akarmenia](https://wordpress.org/support/users/akarmenia/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-crayon-syntax-highlighter-newest-version-causing-jquery-errors/#post-2927152)
 * Status: not resolved