WP 4.5 Error - Urgent

Support General WP 4.5 Error - Urgent

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2886
    MaxellMaxell
    Participant

    Dear Support,

    I am not in a position to update my theme, as meta-box is used on hundreds of different checks and places. Probably in next theme update I will add the latest version, but for that I will have to spend hundreds of hours to make that happen..

    After I upgraded to WP 4.5, when I try to upload using file_advanced, I get the following error (but infact it saves the file, but initially it shows TEXT, I believe I will have to make changes to somewhere in JavaScript..

    <# _.each( attachments, function( attachment ) { #>
    {{{ attachment.title }}}

    {{{ attachment.mime }}}
    Edit | Delete

    I have also attached a screenshot, I need to fix this ASAP, PLEASE HELP.

    thanks

    #2887
    Anh TranAnh Tran
    Keymaster

    Which version of Meta Box are you using? Is there any chance that you upgrade to 4.8.5?

    #2889
    MaxellMaxell
    Participant

    Hi Ahn, I am using: Version: 4.4.2

    The above works fine, but not with WP 4.5 upgrade, if I use it before it works perfectly.. I have also Tabs and Columns plugins...

    regards

    #2895
    MaxellMaxell
    Participant

    Hi Anh, can you please help here ? I am running out of time.

    thanks

    #2896
    Anh TranAnh Tran
    Keymaster

    Hi Maxell, I guess the bug is from JavaScript. In the version 4.5, WordPress updates its library Underscore from 1.6.0 to 1.8.3. It's a big update and because Meta Box uses Underscore library to render template for media upload, I think the fastest way is updating the Meta Box plugin :(.

    #2899
    MaxellMaxell
    Participant

    Hi Anh, can you please point out files or which function should I look for, any clue ? I will try to find a solution myself, but I have no idea which PHP / JS files should I look for ?..

    Any help would be highly appreciated. I cant upgrade at this stage because meta boxes if used on hundreds of fields and I can test them all together..

    thanks

    #2901
    MaxellMaxell
    Participant

    🙁 upgrading.. and testing, have still one error, I have posted in another thread.. need fix for that..

    thanks

    #2903
    Anh TranAnh Tran
    Keymaster

    The files are inc/fields/media.php and inc/templates/*.php.

    Do you see any error in the console? Can you send me the code to check?

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘WP 4.5 Error - Urgent’ is closed to new replies.