• ldiano

    (@ldiano)


    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

    (@esmi)

    after we tried to unsuccessfully upload some javascript

    What exactly did you do?

    Thread Starter ldiano

    (@ldiano)

    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

    (@esmi)

    You added javascript to to a Post or Page’s content?

    Thread Starter ldiano

    (@ldiano)

    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>

    <script src=”jquery.js”></script>
    <script>

    $(document).ready(function () { $(‘body’).hide().fadeIn(1500)});

    </script>
    </body>

    esmi

    (@esmi)

    Did you add this to a Post or to one of your theme’s template files?

    Thread Starter ldiano

    (@ldiano)

    Only to the specific Page.

    esmi

    (@esmi)

    Can you access this page in the back end editor?

    Thread Starter ldiano

    (@ldiano)

    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

    (@esmi)

    Try deleting that Page.

    Thread Starter ldiano

    (@ldiano)

    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.