WP v 7.2 jQuery UI Issue, stuck on Scanning Site
-
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); });
// }
}
- The topic ‘WP v 7.2 jQuery UI Issue, stuck on Scanning Site’ is closed to new replies.