Support Forum
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
Which version of Meta Box are you using? Is there any chance that you upgrade to 4.8.5?
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
Hi Anh, can you please help here ? I am running out of time.
thanks
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 :(.
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
🙁 upgrading.. and testing, have still one error, I have posted in another thread.. need fix for that..
thanks
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?