Support » Theme: P2 » p2 theme does not add media from front page

  • Resolved davouch


    WP 3.6-alpha-23334
    P2 Version 1.4.2
    Running at localhost under XAMPP @ WinXP Pro

    There is no response after the click on the Add media link on top of the front page.

    After clicking the link nothing appears and Firebug shows this error:

    TypeError: e is undefined [Break On This Error] 	
    ...},T.memoize=function(e,t){var n={};return t||(t=T.identity),function(){var r=t.a...

    The error remains even with no plugins activated.

    Any help is going to be greatly appreciated. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • Sounds like a bad WordPress install. If you can manage your site via FTP or something you can download that file and replace it.

    If that doesn’t work, try reinstalling WordPress. You can do this without uninstalling it, just re-apply the latest update.

    Thanks, @invot, for landing here. I’m not sure, if you’ve noticed that in my initial post, but I’m running this thing on a localhost (for more specs see above).

    To your suggestion, I’ve tried that already, even before posting the whole thing here. However, when I’ve tried that with their minified version, the console snapped back, it’s unable to get the 1.4.1 version, which seemed weired, so I reverted back to original file shipped with wp.

    Now trying it again with the non-minified, the error changed to this:

    Uncaught TypeError: Cannot call method 'on' of undefined media-views.min.js:1
    f.controller.State.Backbone.Model.extend._updateMenu media-views.min.js:1
    w backbone.min.js:8
    g.Events.trigger backbone.min.js:10
    f.extend.set backbone.min.js:13
    g.Model backbone.min.js:12
    f.controller.State.Backbone.Model.extend.constructor media-views.min.js:1
    d backbone.min.js:41
    f.view.MediaFrame.Post.f.view.MediaFrame.Select.extend.createStates media-views.min.js:1
    f.view.MediaFrame.Select.f.view.MediaFrame.extend.initialize media-views.min.js:1
    f.view.MediaFrame.Post.f.view.MediaFrame.Select.extend.initialize media-views.min.js:1
    g.View backbone.min.js:36
    f.View.Backbone.View.extend.constructor media-views.min.js:1
    d backbone.min.js:41
    d backbone.min.js:41
    d backbone.min.js:41
    d backbone.min.js:41 media-models.min.js:1 media-editor.min.js:1 media-editor.min.js:1
    (anonymous function) media-editor.min.js:1
    jQuery.event.dispatch jquery.js:3045

    Also there’s been this line in java console since the very beginning:
    JQMIGRATE: is deprecated jquery-migrate.js:29

    One more error kicks in after a while:
    JQMIGRATE: jQuery.browser is deprecated jquery-migrate.js:29

    Updated to
    with no change. Error remains, ‘add media’ link doesn’t respond.

    After reverting back to the official release WP 3.5.1, the front page add media link works properly. (the WP 3.5 works too)

    Thanks for your help.

    It’s a trunk version issue:

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘p2 theme does not add media from front page’ is closed to new replies.