• Resolved freshantics

    (@freshantics)


    I’m running WordPress 5.4.2 and BadgeOS 3.6. I was having an issue with one of my other plugins in the WP Admin due to the following error in BadgeOS “ob-integrations.js”:

    Uncaught TypeError: progressbar.progressbar is not a function
    at HTMLDocument.<anonymous> (ob-integrations.js?ver=3.6:7)
    at i (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer&ver=5.4.2:2)
    at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer&ver=5.4.2:2)
    at Function.ready (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer&ver=5.4.2:2)
    at HTMLDocument.J (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-position,wp-pointer&ver=5.4.2:2)

    Seems jquery-ui-progressbar is not included by default in the WP Admin, perhaps may be due to a recent WP update.

    I fixed by adding the following to my functions.php

    function enqueue_admin_jquery() {
    wp_enqueue_script(‘jquery-ui-progressbar’);
    }
    add_action(‘admin_init’, ‘enqueue_admin_jquery’);

    • This topic was modified 4 years, 8 months ago by freshantics.
    • This topic was modified 4 years, 8 months ago by freshantics.
    • This topic was modified 4 years, 8 months ago by freshantics.
Viewing 1 replies (of 1 total)
  • Plugin Author learningtimes

    (@learningtimes)

    Hi @freshantics

    Thanks for reaching out to us. This bug is already reported and will be fixed in 3.6.1. The new version is scheduled to release this week hopefully.

    Let me know If I can help you with any other questions.

Viewing 1 replies (of 1 total)
  • The topic ‘BUGFIX: BadgeOS Uncaught TypeError : progressbar’ is closed to new replies.