• Resolved ryantate13

    (@ryantate13)


    Seeing this error in the console. If I comment out any lines related to the JS progressbar function I can create a package, otherwise it just spins on step 2.

    Uncaught TypeError: $mainbar.progressbar is not a function
    at Object.Duplicator.UI.AnimateProgressBar (admin.php?page=duplicator&tab=new2:250)
    at HTMLDocument.<anonymous> (admin.php?page=duplicator&tab=new2:893)
    at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:2)
    at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:2)
    at Function.ready (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:2)
    at HTMLDocument.K (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=4.7.2:2)

    Example of workaround that allows me to create a package:

    /* Animates the progress bar */
    Duplicator.UI.AnimateProgressBar = function(id)
    {
    //Create Progress Bar
    // var $mainbar = jQuery(“#” + id);
    // $mainbar.progressbar({ value: 100 });
    // $mainbar.height(25);
    // runAnimation($mainbar);
    //
    // function runAnimation($pb) {
    // $pb.css({ “padding-left”: “0%”, “padding-right”: “90%” });
    // $pb.progressbar(“option”, “value”, 100);
    // $pb.animate({ paddingLeft: “90%”, paddingRight: “0%” }, 3000, “linear”, function () { runAnimation($pb); });
    // }
    }

Viewing 1 replies (of 1 total)
  • Hi @ryantate13,

    That is a bit odd, haven’t ever ran into that issue before, and no other reports of it happening with 4.7.2. It could be a few things:

    1. A plugin conflict where another plugin that is calling a conflicting version of jQuery or possibly using a similar ID

    2. The jQuery libs are not loading correctly on your site

    If you want to submit a ticket and refer to this forum thread I can have a deeper look at your setup.

    Thanks~

Viewing 1 replies (of 1 total)
  • The topic ‘WP v 7.2 jQuery UI Issue, stuck on Scanning Site’ is closed to new replies.