Title: error in custom.js &#8211; syntax error, unrecognized expression
Last modified: August 31, 2016

---

# error in custom.js – syntax error, unrecognized expression

 *  Resolved [ralpheastwood](https://wordpress.org/support/users/ralpheastwood/)
 * (@ralpheastwood)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-in-customjs-syntax-error-unrecognized-expression/)
 * I am having a javascript error triggered by a line of code in custom.js. This
   is stopping all animations from working properly (slides, lazy loading images
   etc).
 * Can anyone tell me how I can find out who is responsible for this custom.js file,
   so I can contact the developer for support? Is it wordpress (doubt it, somehow),
   is it my Divi theme (probably although I hope not – I have to pay to get support!!!)
   or a plugin?
 * web-site is engagelearnshare.com (please don’t laugh – it’s my first attempt!!)

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-in-customjs-syntax-error-unrecognized-expression/#post-7270783)
 * Either your theme or your slideshow plugin (or both) needs updating.
 * See
    [https://wordpress.org/support/topic/read-this-first-wordpress-45-master-list?replies=6#post-8271654](https://wordpress.org/support/topic/read-this-first-wordpress-45-master-list?replies=6#post-8271654)
 * [https://dl.dropboxusercontent.com/1/view/1d5cv870hvtpqu2/Apps/Shutter/Selection_004.png](https://dl.dropboxusercontent.com/1/view/1d5cv870hvtpqu2/Apps/Shutter/Selection_004.png)
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-in-customjs-syntax-error-unrecognized-expression/#post-7270785)
 * The fix for Divi’s custom.js file is provided here:
 * [https://wordpress.org/support/topic/read-this-first-wordpress-45-master-list?replies=6#post-8268201](https://wordpress.org/support/topic/read-this-first-wordpress-45-master-list?replies=6#post-8268201)
 *  Thread Starter [ralpheastwood](https://wordpress.org/support/users/ralpheastwood/)
 * (@ralpheastwood)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-in-customjs-syntax-error-unrecognized-expression/#post-7270965)
 * Thank you very much for the reply and the solution – that’s what I thought was
   causing the problem. My problem now is that I’m a real novice, how do I replace
   the problematic custom.js with the ‘fixed’ one? Sorry!
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-in-customjs-syntax-error-unrecognized-expression/#post-7270966)
 * Divi has provided an update to their theme. Go to where you got that theme and
   get the update.
 *  Thread Starter [ralpheastwood](https://wordpress.org/support/users/ralpheastwood/)
 * (@ralpheastwood)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-in-customjs-syntax-error-unrecognized-expression/#post-7270967)
 * Thanks for your help! Much appreciated!

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

The topic ‘error in custom.js – syntax error, unrecognized expression’ is closed
to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [ralpheastwood](https://wordpress.org/support/users/ralpheastwood/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/error-in-customjs-syntax-error-unrecognized-expression/#post-7270967)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
