• I use WP User Frontend and this plugin,
    but I can’t delete images and something need to call JS,
    that error

    sweetalert2.min.js?ver=11.0.5:1 Uncaught TypeError: Cannot call a class as a function
        at a (sweetalert2.min.js?ver=11.0.5:1)
        at i (sweetalert2.min.js?ver=11.0.5:1)
        at window.WPUF_Uploader.removeAttachment (upload.js?ver=5.7.2:9)
        at HTMLAnchorElement.i (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.7.2:2)
        at HTMLDivElement.dispatch (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.7.2:2)
        at HTMLDivElement.v.handle (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.7.2:2)
    a @ sweetalert2.min.js?ver=11.0.5:1
    i @ sweetalert2.min.js?ver=11.0.5:1
    removeAttachment @ upload.js?ver=5.7.2:9
    i @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.7.2:2
    dispatch @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.7.2:2
    v.handle @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils&ver=5.7.2:2
    

    help me to fix that. please

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    This seems like WP User Frontend javascript issue. This plugin has been tested across many situations and were haven’t come across any error. Can you try clearing your browser cache and check again? Maybe some old script is still cached by the browser?

    Thread Starter dungphamm

    (@dungphamm)

    I tried to disable WP Cloudflare Super Page Cache and everything is good.
    but enable has this error even clearing browser cache and change browser.

    sweetalert2.min.js?ver=11.0.5:1 Uncaught TypeError: Cannot call a class as a function
        at a (sweetalert2.min.js?ver=11.0.5:1) (/wp-content/plugins/wp-cloudflare-page-cache/assets/js/sweetalert2.min.js?ver=11.0.5)
        at i (sweetalert2.min.js?ver=11.0.5:1) (/wp-content/plugins/wp-cloudflare-page-cache/assets/js/sweetalert2.min.js?ver=11.0.5)
        at window.WPUF_Uploader.removeAttachment (upload.js?ver=5.7.2:9)
        at HTMLAnchorElement.i (jquery.min.js?ver=3.5.1:2)
        at HTMLDivElement.dispatch (jquery.min.js?ver=3.5.1:2)
        at HTMLDivElement.v.handle (jquery.min.js?ver=3.5.1:2)
    a	@	sweetalert2.min.js?ver=11.0.5:1
    i	@	sweetalert2.min.js?ver=11.0.5:1
    removeAttachment	@	upload.js?ver=5.7.2:9
    i	@	jquery.min.js?ver=3.5.1:2
    dispatch	@	jquery.min.js?ver=3.5.1:2
    v.handle	@	jquery.min.js?ver=3.5.1:2
    • This reply was modified 3 years, 9 months ago by dungphamm.
    Plugin Contributor iSaumya

    (@isaumya)

    Can you try disabling the WP User Frontend and keep this plugin on and then check if the problem is still happening? Als have you cleared your browser cache?

    Thread Starter dungphamm

    (@dungphamm)

    I tried to clear browser cache and change browser still the error.
    can’t disable WP User Frontend because i’m using it to upload and edit posts. you know

    Plugin Contributor iSaumya

    (@isaumya)

    I am not asking you to disable that indefinitely, I’m asking you to disable that when you have fewer visitors for few moment to test and then turn back on.

    Thread Starter dungphamm

    (@dungphamm)

    yeah, I tried to disable WPUF and test but it’s still eror

    • This reply was modified 3 years, 9 months ago by dungphamm.
    • This reply was modified 3 years, 9 months ago by dungphamm.
    • This reply was modified 3 years, 9 months ago by dungphamm.
    Thread Starter dungphamm

    (@dungphamm)

    yeah, I tried to disable WPUF and test but it’s still eror

    what do you think about if i try to shutdown the server?

    Plugin Contributor iSaumya

    (@isaumya)

    Can you please provide how to reproduce the issue on our end? Do note that we don’t have access t your website or server. So, provide the exact steps that we need to take in order to generate the issue on our end. Please be very specific about each and every step that needs to be taken in order to generate the issue.

    Also on the other hand can you try out this build of the plugin and confirm with this build if the issue still persists or not?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can’t delete image in post edit and more’ is closed to new replies.