[wp-trac] [WordPress Trac] #23007: jQuery errors

WordPress Trac noreply at wordpress.org
Wed Dec 19 17:37:26 UTC 2012


#23007: jQuery errors
-----------------------------+--------------------------
 Reporter:  gwendydd         |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  General
  Version:  3.5              |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------------
 I'm developing a site here:
 http://ally2.alchemycs.com

 On the home page, in the middle where it says "Screenings", there is a box
 that uses jScrollPane (a jQuery plugin) to make the scrollbars look
 pretty.  In 3.4.2, this worked just fine.  When I updated to 3.5, this
 broke.  I verified this by restoring the site in 3.4.2 from a backup, and
 upgrading again.  The only thing I changed was the WP version, and it
 broke the scrollbar.

 I think that the scrollbar is the visible symptom of a larger problem.  In
 3.5, I get this JS error message:
 {{{Error: Permission denied to access property 'toString'}}}

 This error message is caused by the embedded Vimeo video. If I take that
 out, I get a new error message:
 {{{Error: Syntax error, unrecognized expression:
 [type="text/javascript"],not([type])}}}

 That message is caused by modernizr.js, so if I disable that, I get a new
 error message:
 {{{Error: Syntax error, unrecognized expression:
 [type="text/javascript"],not([type])}}}

 It says that this error occurs in line 2 of jquery.min.js, which is being
 served by Google, so I know it doesn't have errors in it.

 Disabling all plugins doesn't solve the problem.  Obviously if I switch
 themes the problem goes away, because the default themes don't use the
 same jQuery plugins that I'm using.  But again, the only difference
 between the functioning site and the non-functioning site was the version
 of WordPress.

 Here's a conversation I had on the support forums about this:
 http://wordpress.org/support/topic/35-causing-major-jquery-and-javascript-
 errors?replies=9

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23007>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list