WordPress.org

Forums

Attachments
[resolved] JavaScript Error (6 posts)

  1. MNS
    Member
    Posted 2 years ago #

    Hey guys,

    it appears that the Attachment Plugin is causing a JavaScript error when I am in the article interface of the admin backend.

    It only appears, once I've added an attachment to the article. That error prevents any other JavaScript from executing.

    That's the error, copied from Firebug.

    b.connectWith is undefined
    http://localhost/artigwp/wp-admin/load-scripts.php?c=1&load=hoverIntent,common,jquery-color,jquery-ui-core,jquery-ui-tabs,thickbox,schedule,wp-ajax-response,autosave,suggest,wp-lists,jquery-ui-sortable,postbox,post,word-count,media-upload&ver=99621a8160566ac3f962c7564e612e6d
    Line 407

    Someone has an idea about that?

    http://wordpress.org/extend/plugins/attachments/

  2. Jonathan Christopher
    Member
    Plugin Author

    Posted 2 years ago #

    Does the error still occur with all other plugins deactivated?

  3. MNS
    Member
    Posted 2 years ago #

    Yep, it does.

    EDIT: For clarification. I use them within Custom Posts. Some of them include some custom Ajax functionality. Still when I comment these out it changes nothing. I also use it in a Custom Post without any custom JavaScript and the error appears. And JUST in the post types where the Attachments Plugin is assigned to and JUST when I have added an item via Attachments. As long as I didn't attach any file there is no problem.

  4. Jonathan Christopher
    Member
    Plugin Author

    Posted 2 years ago #

    Any way I can log in and poke around? http://mondaybynoon.com/contact

  5. MNS
    Member
    Posted 2 years ago #

    Ah, I got it. How could I not see that. One of my Custom Post Types included the jQuery UI Datepicker Script. Instead of just integrating it in the admin head of the specific post type I've included it into all admin pages. When I comment this code out, everything works like a charm again.

    Sorry for the troubles and thanks for your efforts.

  6. Jonathan Christopher
    Member
    Plugin Author

    Posted 2 years ago #

    No problem, glad you've got it figured out!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic