Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact
You are here: Home

lukas

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • March 21, 2015 at 2:42 pm in reply to: Problem creating new membership level #1277
    lukas
    Participant

    hi,
    i have a similar problem:
    when i want to create a daily / weekly membership i get the same error message.
    reinstalling the plugin (and or deactivating other plugins) did not solve it.

    but i found a quick workaround:
    the memberships are set in the database table wp_swpm_membership_tbl.

    the column subscription_duration_type determines if the duration is based on days, weeks and so on and the column subscription_period determines how many days, weeks, …

    the values for duration type are set in class.b.MembershipLevel.php:
    no expiry = 0
    days = 1
    weeks = 2
    months = 3
    years = 4
    fixed date = 5

    example, a subscription for 5 days called silver:
    alias -> silver
    subscription_duration_type -> 1
    subscription_period -> 5

    i just manually added the subscription levels i needed via phpmyadmin

    anyhow, i hope the team fixes this soon.

    cheers

  • Author
    Posts
Viewing 1 post (of 1 total)
Next Page »

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy