• Resolved Holoduke99

    (@holoduke99)


    Logged at WP as admin
    Im getting a 404 when plugin try to load jQuery UI 1.13.1

    Refused to apply style from ‘######/wp-content/plugins/google-captcha/bws_menu/css/jquery-ui-styles/1.13.1/jquery-ui.css?ver=5.9.1’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.

    Folder 1.13.1 is missing. I have auto update for this plugin. So I downloaded a fresh copy of plugin to my desktop and checked. Folder is not there too…

    Have you forgot to include in your plugin?

    Anybody getting the same problem?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Holoduke99

    (@holoduke99)

    My plugin version: Version 1.66

    Thread Starter Holoduke99

    (@holoduke99)

    I think my jquery-ui-core version is set to 1.13.1

    $jquery_ui_version = isset( $wp_scripts->registered['jquery-ui-core']->ver ) ? $wp_scripts->registered['jquery-ui-core']->ver : '1.12.1';

    Later it tries to enqueue missing files:
    wp_enqueue_style( 'jquery-ui-style', bws_menu_url( 'css/jquery-ui-styles/' . $jquery_ui_version . '/jquery-ui.css' ) );

    Plugin Support andrewsupport

    (@andrewsupport)

    Hi,

    We found the issue, and we will fix it in the next plugin updates.

    We do also have a problem. We can’t customize the theme. The captcha can’t show properly. How to fix it. We dont make any change. Please help to fix it

    Plugin Support andrewsupport

    (@andrewsupport)

    Hi,

    We will fix it issue in the next plugin updates.

    I have the same error

    2022/03/10 22:03:51 [error] 550#550: *188907 open() “/www/*****/public/wp-content/plugins/google-captcha/bws_menu/css/jquery-ui-styles/1.13.1/jquery-ui.css” failed (2: No such file or directory), client: /*****/, server: /*****/.net, request: “GET /wp-content/plugins/google-captcha/bws_menu/css/jquery-ui-styles/1.13.1/jquery-ui.css HTTP/1.1”, host: “/*****/.net:21572”, referrer: “https:///*****/.net/wp-admin/”

    still, you haven’t fixed the issue

    • This reply was modified 2 years, 7 months ago by xabdu.
    Plugin Support andrewsupport

    (@andrewsupport)

    Hi @xabdu,

    We are still working on the plugin update.

    Thread Starter Holoduke99

    (@holoduke99)

    If you cannot wait till next update is released, you can manual fix it.

    Find line:
    $jquery_ui_version = isset( $wp_scripts->registered[‘jquery-ui-core’]->ver ) ? $wp_scripts->registered[‘jquery-ui-core’]->ver : ‘1.12.1’;

    And replace it with:

    $jquery_ui_version = ‘1.12.1’;

    Code not tested (i can wait intil they publish update and self update the plugin), but i remember the folder for 1.12.1 existed at plugin folder. It should work.

    If you manually apply this fix and it works, please confirm here. Additionally, do not worry for the manual fix, it will be lost as soon they update the plugin with a solution.

    Plugin Support andrewsupport

    (@andrewsupport)

    Hi,

    The plugin has been updated. This bug is now fixed.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Missing jQuery UI 1.13.1’ is closed to new replies.