Title: Diagnose Javascript error
Last modified: August 31, 2016

---

# Diagnose Javascript error

 *  Resolved [wambamboo](https://wordpress.org/support/users/wambamboo/)
 * (@wambamboo)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/diagnose-javascript-error/)
 * Hello
 * I’m doing some seo on my site and it’s been flagged that there is a .js error
   somewhere on the site.
 * I’ve tried to use this [https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors](https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors)
   
   to help diagnose it but it say to put `define('SCRIPT_DEBUG', true);` before “
   That’s all, stop editing! Happy blogging”.I can’t see “That’s all, stop editing!
   Happy blogging” on the wp-config file though.
 * Where should I add the code?
 * Thanks

Viewing 1 replies (of 1 total)

 *  Thread Starter [wambamboo](https://wordpress.org/support/users/wambamboo/)
 * (@wambamboo)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/diagnose-javascript-error/#post-7182088)
 * Ugh found it straight after i posted that.

Viewing 1 replies (of 1 total)

The topic ‘Diagnose Javascript error’ is closed to new replies.

## Tags

 * ["js error"](https://wordpress.org/support/topic-tag/js-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [wambamboo](https://wordpress.org/support/users/wambamboo/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/diagnose-javascript-error/#post-7182088)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
