jQuery.Deferred exception: $enableScreenshotsCheckbox.checkbox is not a function

When I go to my WP dashboard on my MainWP dashboard site, These errors are shown in the browser console:

jQuery.Deferred exception: $enableScreenshotsCheckbox.checkbox is not a function TypeError: $enableScreenshotsCheckbox.checkbox is not a function
    at HTMLDocument.<anonymous> (https://.../wp-content/plugins/mainwp/assets/js/mainwp.js:2628:30)

Uncaught TypeError: $enableScreenshotsCheckbox.checkbox is not a function
    at HTMLDocument.<anonymous> (mainwp.js:2628)

They are not visible in the MainWP dashboard. So probably a check is missing to see if the script is actually running on MainWP pages.