Path to JS Files (Membership 2)

Hi
I am trying to add Attributes to the Membership, when i click Add New Attribute or Save nothing happens. I checked the Console in my browser (chrome) to find that the path to the JS files is:
wp-content/plugins/membership//app/addon/attributes/assets/js/settings.js?ver=4.7.3

Notice the // after membership. As a consequence the Membership does not work because it cannot find the file. Is there a work around?
I look forward to your response
Kind regards
Hannah

  • Vaughan

    Hi Hannah,

    Hope you're well?

    Thanks for bringing this to our attention, I can confirm this is a bug & have reported to the developer.

    To fix this until we have a new release, please change the following;

    Open up & edit the following file:

    /wp-content/plugins/membership/premium/addon/attributes/class-ms-addon-attributes.php

    Find the following on or around line 437

    $addon_url = MS_Plugin::instance()->url . '/app/addon/attributes/';

    Replace with:

    $addon_url = MS_Plugin::instance()->url . '/premium/addon/attributes/';

    Hope this helps & apologies for the inconvenience.