Membership 2 ms-admin-scripts.js file not found

It's only on admin pages, but I get http://www.mydomain.comms-admin-scripts/?ver=4.7.5
A / is missing before loading the ms-admin-script/
I did a search through all plugin files a while back and couldn't find it referenced anywhere.
The only time this error is gone is when I disable M2.

  • Katya Tsihotska

    Hi Jason

    Hope you had a wonderful day!

    This is a known error but it should not cause any issue to your site. It should be fixed with the next update of Membership 2 plugin. For a quick fix, you will have to change just 1 line of code. In the file /wp-content/plugins/membership/app/controller/class-ms-controller-plugin.php line 1088

    lib3()->ui->js( 'ms-admin-scripts' );

    replace it with

    lib3()->ui->js( 'ms-admin' );

    You can edit this file directly using cPanel or FTP.

    If you have any additional questions please let me know and I’ll be happy to help.

    Kind regards,
    Katya