cmb2.min.js 404 script path error

#395904
Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.

    This issue could be due to a migration process. Can you please confirm if you have recently migrated your website?

    For us to further investigate the issue, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Humm Group
    Rank Math business

    The website has not been migrated at all, and as I stated on my initial comment, multiple versions of your plugin have been installed, deleted and reinstalled and nothing has worked. The plugin core files have the correct inclusion path, that is the only file which is using an incorrect one as stated in the sensitive data section.

    Hello,

    We load all our vendor libraries the same way and if our implementation was not working correctly on the subfolders you would see the error for all libraries that we call such as Select2 for example.

    The fact that this happens only on this file is an indication that this is exclusive to this file in particular.

    Please make sure that you are adding the plugin to the multisite but only activating it on the actual websites and see if that helps.

    Don’t hesitate to get in touch if you have any other questions.

    Humm Group
    Rank Math business

    Hello Miguel,

    I thought it might have been that the plugin had issues with multisite by enabling for the network, but I disabled it on a network level and enabled it on a single site and the same error happens. Please see screenshot 2 as proof that the plugin is not linking/referencing all files in the same way. You can see other scripts from rankmath are working with the correct path while the cmb2 one has a different path.

    Please keep in mind that approach A on this bitnami guide (https://docs.bitnami.com/installer/apps/wordpress-multisite/administration/use-directories/) was followed to enable multisite with subdirectories.

    Regards.

    Humm Group
    Rank Math business

    To support my argument, if there was something wrong with the implementation all plugins would fail including the other scripts from rank math as the change is a site wide change.

    Regards.

    Humm Group
    Rank Math business

    Please see recent sensitive data for debug log PHP fatal error happening on rank math.

    Hello,

    In our plugin we use the functions from CMB2 to enqueue the admin scripts and don’t make any modifications to it, however, you might need to apply the filter that is included in that library to change the path as mentioned in this issue from their repository: https://github.com/CMB2/CMB2/issues/432

    When we load that library we simply call their init function and let it handle all the paths themselves.

    Don’t hesitate to get in touch if you have any other questions.

    Humm Group
    Rank Math business

    Hi Miguel,

    I understand and it is kind of a bummer to have to make a plugin work correctly if you haven’t done anything to it, but thanks to your shared link I found that filter function to fix the error, to thanks for your support on this!

    For those of you having the same issue I’ve added to our theme functions file and it is working as expected.

    https://github.com/CMB2/CMB2/wiki/Troubleshooting

    Cheers!

    Hello,

    I am glad that we could address your concern and thank you so much for sharing an input to further guide the others with the same issue. We appreciate your time and patience on this one.

    Please do not hesitate to let us know if you need our assistance with anything else.

    Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)

You must be logged in to reply to this ticket.