Home Forums Plugin Support WP User Frontend (Free Version) WPUF Pro gives 3 error messages on page, doubles page load time

This topic is: resolved

Tagged: ,

This topic contains 4 replies, has 3 voices, and was last updated by  Gilberto 5 years, 3 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #14536

    Scott
    Member
    Post count: 2

    Hi –

    I'm a customer of WPUF Pro and see that it's creating 3 error messages on my pages per below. How can I fix the errors?

    I think they are also causing my admin-ajax.php to go really slow, doubling the time it takes my pages to load

    The 3 errors are:

    /* < ![CDATA[ */ var wpuf_frontend = {"ajaxurl":"http:\/\/www.MySite.com\/wp-admin\/admin-ajax.php","error_message":"Please fix the errors to proceed","nonce":"fb6710aecb"}; /* ]]> */

    /* < ![CDATA[ */ var pluploadL10n = {"queue_limit_exceeded":"You have attempted to queue too many files.","file_exceeds_size_limit":"%s exceeds the maximum upload size for this site.","zero_byte_file":"This file is empty. Please try another.","invalid_filetype":"This file type is not allowed. Please try another.","not_an_image":"This file is not an image. Please try another.","image_memory_exceeded":"Memory exceeded. Please try another smaller file.","image_dimensions_exceeded":"This is larger than the maximum size. Please try another.","default_error":"An error occurred in the upload. Please try again later.","missing_upload_url":"There was a configuration error. Please contact the server administrator.","upload_limit_exceeded":"You may only upload 1 file.","http_error":"HTTP error.","upload_failed":"Upload failed.","big_upload_failed":"Please try uploading this file with the %1$sbrowser uploader%2$s.","big_upload_queued":"%s exceeds the maximum upload size for the multi-file uploader when used in your browser.","io_error":"IO error.","security_error":"Security error.","file_cancelled":"File canceled.","upload_stopped":"Upload stopped.","dismiss":"Dismiss","crunching":"Crunching\u2026","deleted":"moved to the trash.","error_uploading":"\u201c%s\u201d has failed to upload."}; /* ]]> */

    /* < ![CDATA[ */ var wpuf_frontend_upload = {"confirmMsg":"Are you sure?","nonce":"fb6710aecb","ajaxurl":"http:\/\/www.MySite.com\/wp-admin\/admin-ajax.php","plupload":{"url":"http:\/\/www.MySite.com\/wp-admin\/admin-ajax.php?nonce=8907892bd3","flash_swf_url":"http:\/\/www.MySite.com\/wp-includes\/js\/plupload\/plupload.flash.swf","filters":[{"title":"Allowed Files","extensions":"*"}],"multipart":true,"urlstream_upload":true}}; /* ]]> */

    #14553

    Tareq Hasan
    Keymaster
    Post count: 2831

    Hi Scott,

    Those aren't errors, they are the JavaScript objects that require to work the plugin. So you might be mistaken with that.

    Once the required JS files are loaded, they are cached by the browser. So loading time shouldn't be affected. Either way, you can turn off other scripts of WPUF in all pages by turning them off. There is a setting in the plugin by which you can load WPUF specific scripts only on those pages where WPUF shortcodes are there.

    #14562

    Scott
    Member
    Post count: 2

    Thanks Tareq.

    In my WPUF Pro settings I’ve unchecked “Load scripts/styles in all pages.”

    Now the CDATA Javascript objects that I had copied above are appearing only on pages where I have inserted the WPUF short codes.

    So I think I am set.

    Thanks for explaining what that the Javascript objects aren’t ‘error codes’ as I thought

    Scott

    On Jan 18, 2014, at 4:12 AM, weDevs Team wrote: > Tareq Hasan wrote:

    Hi Scott,

    Those aren’t errors, they are the JavaScript objects that require to work
    the plugin. So you might be mistaken with that.

    Once the required JS files are loaded, they are cached by the browser. So
    loading time shouldn’t be affected. Either way, you can turn off other
    scripts of WPUF in all pages by turning them off. There is a setting in the
    plugin by which you can load WPUF specific scripts only on those pages where
    WPUF shortcodes are there.

    #16146

    Gilberto
    Member
    Post count: 2

    Uncaught TypeError: Object #has no method ‘on' shows this error i unchecked js option from plugin

    #16147

    Gilberto
    Member
    Post count: 2

    please help to resolve this errror i use thesis theme post page is not working and dashboard also not working on adding the shortcode

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘WPUF Pro gives 3 error messages on page, doubles page load time’ is closed to new replies.