Membership 2 displays a JS error in the admin backend

Membership 2 have a JS error in the wp-admin because of a missing slash in the URL http://take.ms/qT8Ww

  • Paul Kevin
    • Neo

    Hello kalico ,

    Hope you are well today. This is a known error but should not cause any issue to your site. 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 where there is

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

    change this to

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

    You can edit the file directly via FTP or via Cpanel. Hope this helps.

    Warm Regards
    Paul Kevin

  • kalico
    • The Bug Hunter

    Ah! Thanks so much Paul Kevin This solved the problem, and seems to have resolved a few other console notices, as well.

    Is there any chance that this could be related to the fact that I have had several users' memberships expire almost immediately upon creation? These are all from one membership, but it doesn't affect all who select that membership, only a few. I can't see a pattern to it (yet).

    I already have a ticket open about this (here), I was just curious if the two could be related.

    Again, thank you for the fix. Much appreciated!

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.