• Adrian

    (@adrian2k7)


    Hello,

    Error in 2.2.1, is working in 2.1.0

    This happens, when we try to edit a post with Classic Editor.

    Uncaught TypeError: Cannot read property 'attributes' of undefined
        at h.Model.handleFilters (admin-media.js?ver=2.2.1:398)
        at p (backbone.min.js?ver=1.4.0:1)
        at f (backbone.min.js?ver=1.4.0:1)
        at l (backbone.min.js?ver=1.4.0:1)
        at h.Model.n.trigger (backbone.min.js?ver=1.4.0:1)
        at h.Model.set (backbone.min.js?ver=1.4.0:1)
        at initialize (media.js?ver=4.8.5:96)
        at i.h.View (backbone.min.js?ver=1.4.0:1)
        at i [as constructor] (backbone.min.js?ver=1.4.0:1)
        at new i (backbone.min.js?ver=1.4.0:1)

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • arqlinks

    (@arqlinks)

    Me too. On my website it happens when you want to add images to the gallery:

    Uncaught TypeError: Cannot convert undefined or null to object
    at g.cleanup (backbone.min.js?ver=1.4.0:1)
    at g.off (backbone.min.js?ver=1.4.0:1)
    at r (backbone.min.js?ver=1.4.0:1)
    at l (backbone.min.js?ver=1.4.0:1)
    at h.Collection.n.off (backbone.min.js?ver=1.4.0:1)
    at i.<computed> [as off] (media-views.min.js?ver=5.3:1)
    at i.dispose (media-views.min.js?ver=5.3:1)
    at i.dispose (media-views.min.js?ver=5.3:1)
    at i.remove (media-views.min.js?ver=5.3:1)
    at underscore.min.js?ver=1.8.3:1

    Plugin Author dFactory

    (@dfactory)

    Should be working fine in 2.2.2

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JavaScript error in 2.2.1, can’t edit post’ is closed to new replies.