Title: Broken Javascript Issue Within Theme
Last modified: July 28, 2021

---

# Broken Javascript Issue Within Theme

 *  [susanas](https://wordpress.org/support/users/susanas/)
 * (@susanas)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/broken-javascript-issue-within-theme/)
 * Hi,
 * After running an SEO audit with Ahrefs, I’ve noticed that every single one of
   my pages is coming back with broken Javascript.
 * It’s a 404 error and the URL that’s broken is: [https://abtrs.com/wp-content/themes/enfold/js/custom.js](https://abtrs.com/wp-content/themes/enfold/js/custom.js)
 * How should I go about getting this fixed? Team is small at the time and it’s 
   fallen on my lap.
 * Thank you,
 * Susana
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbroken-javascript-issue-within-theme%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [barnez](https://wordpress.org/support/users/pidengmor/)
 * (@pidengmor)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/broken-javascript-issue-within-theme/#post-14708902)
 * As the issue is theme-related, you should post any support request at: [https://kriesi.at/support/forum/enfold/#new-post](https://kriesi.at/support/forum/enfold/#new-post)
 * Keep in mind that while the scan is throwing that error, the site performance
   is fine [with no 404 errors](https://www.webpagetest.org/result/210728_AiDcVS_298e728476973b87ef208944a0aeedb8/),
   and there are no javascript errors showing on the Chrome browser console, which
   would confirm an issue. Therefore, I wouldn’t consider this reported issue to
   be critical, and could be down to how the scanner tries to access the javascript
   files.
 * Is the site running the latest version (4.8.5) of the theme?
 *  Thread Starter [susanas](https://wordpress.org/support/users/susanas/)
 * (@susanas)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/broken-javascript-issue-within-theme/#post-14712039)
 * [@pidengmor](https://wordpress.org/support/users/pidengmor/)
    Thank you so much
   for the reply! I was able to update the theme and hopefully upon rerunning the
   audit, it will go away. Perhaps you’ve run the chrome after the theme was updated.
 * Again, thank you!
 * Susana
 *  [barnez](https://wordpress.org/support/users/pidengmor/)
 * (@pidengmor)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/broken-javascript-issue-within-theme/#post-14712214)
 * Hi Susana,
    Great to hear the theme is updated. I have checked again and there
   are still no 404 errors, plus the overal performance score is excellent: [https://www.webpagetest.org/result/210728_BiDc2G_6aead38ea8d5ee4c64d5dd6ff41c905f/](https://www.webpagetest.org/result/210728_BiDc2G_6aead38ea8d5ee4c64d5dd6ff41c905f/)
 * Best wishes with the website, and the valuable service you provide.

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

The topic ‘Broken Javascript Issue Within Theme’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [barnez](https://wordpress.org/support/users/pidengmor/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/broken-javascript-issue-within-theme/#post-14712214)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
