Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    Did you find out a solution to this? I am getting a Javascript error on one of my pages:

    Uncaught TypeError: Cannot read property 'currentStyle' of null plupload.js:2
    g.getStyle plupload.js:2
    (anonymous function) plupload.html5.js:1
    g.extend.trigger plupload.js:2
    (anonymous function) plupload.js:2
    j.runtimes.Html5.j.addRuntime.init plupload.html5.js:1
    v plupload.js:2
    g.extend.init plupload.js:2
    WPUF_Obj.featImgUploader wpuf.js:108
    WPUF_Obj.init wpuf.js:14
    (anonymous function) wpuf.js:213
    l jquery.js:2
    c.fireWith jquery.js:2
    v.extend.ready jquery.js:2
    A

    Anyone seen this?

    An update on this is that I had a look at the wpuf.js file around line 108 which appears to be where the issue is and it seems to be in this piece of code:

    featImgUploader: function() {
                if(typeof plupload === 'undefined') {
                    return;
                }
    
                if(wpuf.featEnabled !== '1') {
                    return;
                }
    
                var uploader = new plupload.Uploader(wpuf.plupload);
    
                uploader.bind('Init', function(up, params) {
                    //$('#cpm-upload-filelist').html("<div>Current runtime: " + params.runtime + "</div>");
                    });
    
                $('#wpuf-ft-upload-pickfiles').click(function(e) {
                    uploader.start();
                    e.preventDefault();
                });
    
                uploader.init();

    Is there a problem with this piece of code?

    Thanks,
    Rob

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP User Frontend] Theme Altered by this string’ is closed to new replies.