Title: website problem / javascript errors?
Last modified: August 21, 2016

---

# website problem / javascript errors?

 *  [ldiano](https://wordpress.org/support/users/ldiano/)
 * (@ldiano)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/website-problem-javascript-errors/)
 * We have a problem with our wp-admin view for our website. Some functions are 
   missing after we tried to unsuccessfully upload some javascript.
 * Here is what the javascript developer console shows as *one* of the errors. I
   picked this one as it *seemed* serious.
 * Uncaught TypeError: Object function (a,c,d){var e=a.split(“.”)[0],f;a=a.split(“.”)[
   1];f=e+”-“+a;if(!d){d=c;c=b.Widget}b.expr[“:”][f]=
    function(h){return!!b.data(
   h,a)};b[e]=b[e]||{};b[e][a]=function(h,g){arguments.length&&this._createWidget(
   h,g)};c…<omitted>…d’
 * jquery.ui.widget.min.js?ver=1.10.3:4
 * Would appreciate any help you can provide. I am a rookie at this stuff though
   I have read a fair bit by searching on google. I’m still not sure how to troubleshoot
   this problem further.
    By the way I’ve deleted plugins I loaded the day the problem
   started and reloaded wordpress 8.1.
 * The problem seems to happen on all browsers.
 * Again, thank you.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/website-problem-javascript-errors/#post-4682260)
 * > after we tried to unsuccessfully upload some javascript
 * What exactly did you do?
 *  Thread Starter [ldiano](https://wordpress.org/support/users/ldiano/)
 * (@ldiano)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/website-problem-javascript-errors/#post-4682297)
 * Hi, We tried to upload into the HTML text editor of a page.
    Are you wanting 
   to see what we tried to upload? I don’t know how else to explain it.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/website-problem-javascript-errors/#post-4682298)
 * You added javascript to to a Post or Page’s content?
 *  Thread Starter [ldiano](https://wordpress.org/support/users/ldiano/)
 * (@ldiano)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/website-problem-javascript-errors/#post-4682312)
 * Something like this. I can’t say it was this code because I tried a bunch of 
   stuff and didn’t keep track of it.
 * <body>
    [](http://jquery.com/) <script src=”jquery.js”></script> <script>
 *  $(document).ready(function () { $(‘body’).hide().fadeIn(1500)});
 *  </script>
    </body>
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/website-problem-javascript-errors/#post-4682315)
 * Did you add this to a Post or to one of your theme’s template files?
 *  Thread Starter [ldiano](https://wordpress.org/support/users/ldiano/)
 * (@ldiano)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/website-problem-javascript-errors/#post-4682320)
 * Only to the specific Page.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/website-problem-javascript-errors/#post-4682336)
 * Can you access this page in the back end editor?
 *  Thread Starter [ldiano](https://wordpress.org/support/users/ldiano/)
 * (@ldiano)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/website-problem-javascript-errors/#post-4682339)
 * Hi, the code was removed. It’s not there.
 * The page, like all pages, can be accessed in the editor.
 * The wordpress editor is limited in its functionality now. The ‘media upload’ 
   feature from the ‘page editing’ does not work, for example.
 * Let me know if you need to know what functionality is missing in more detail.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/website-problem-javascript-errors/#post-4682340)
 * Try deleting that Page.
 *  Thread Starter [ldiano](https://wordpress.org/support/users/ldiano/)
 * (@ldiano)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/website-problem-javascript-errors/#post-4682346)
 * I did. No change.
 * There may be other pages affected, I cannot recall.
 * So next question – Is there a way to search for bad code on a page. I then can
   delete that page.

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

The topic ‘website problem / javascript errors?’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 2 participants
 * Last reply from: [ldiano](https://wordpress.org/support/users/ldiano/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/website-problem-javascript-errors/#post-4682346)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
