• Resolved gpmansfield

    (@gpmansfield)


    Hey there,

    I’m working on a WordPress site running the latest version of LearnDash with Paid Memberships Pro (PMP) and the Paid Memberships Pro – Courses for Membership Add On. I’ve connected PMP to my client’s Stripe account, and I’ve set up three membership levels in PMP: Free, Monthly, and Annual.

    All seemed to set up fine. But when I test the PMP registration page to create a ‘dummy’ member, there’s a glitch. That is, the plugin is defaulting to the same membership level for my ‘dummy’ member to check out with no matter which level — Free, Monthly, or Annual — I select. And it’s seemingly choosing the wrong one at random.

    If I select the Free membership, for example, the next page will wrongly confirm that I’ve selected the Monthly or Annual membership, and so forth.

    I’ve been trying to troubleshoot this by double checking the PMP membership-levels’ settings and deleting and recreating the membership levels. That didn’t help. And it’s not a theme conflict — I tested that — but it could be a plugins conflict. I don’t want to mess around disabling plugins and mess things up, however.

    Does anyone have any thoughts about what could be causing this and what the resolution might be?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Jarryd Long

    (@jarryd-long)

    Hi there, thank you for reaching out to Paid Memberships Pro.

    I’ve visited https://grandioselaborer.mylearndash.com/membership-account/membership-checkout/?pmpro_level=11 however it seems to reflect correctly on my side – can you walk me through the steps on how to replicate this either on your site or on a local environment so that I can look further into this for you?

    Please can you provide us with your Site Health information for your WordPress site? Your Site Health contains details about your WordPress and PMPro setup which can help us quickly pinpoint possible conflicts or problems that could cause the issue you’re currently experiencing.

    Please follow the steps below to retrieve your Site Health Info in the WordPress admin and reply back to us when the details have been added:

    1. Navigate to Tools > Site Health in the WordPress admin.
    2. Click on the “Info” tab.
    3. Click the button to “Copy site info to clipboard”.

    The entire output of your Site Health is now copied to your clipboard. You can then paste it into the reply here.

    Kind Regards,
    Jarryd
    Support Manager at Paid Memberships Pro

    Thread Starter gpmansfield

    (@gpmansfield)

    Hi Jarryd,
    
    Thanks very much for your response to my query about the membership levels not working correctly. 
    
    To replicate the error I'm getting...
    - Visit https://grandioselaborer.mylearndash.com/
    - Select the 'Login' button.
    - On the Login/Register pop-up page, select the 'Register an Account' button.
    - On the Registration page, fill in the fields with dummy-member information.
    - On the Membership-Levels page, click the 'Select' button to the right of the Free level. All being well, the Membership-Checkout page will correctly confirm that "You have selected the?Free?membership level." But if you then change your mind and hit the browser back button to return to the Membership-Levels page and select the Monthly or Annual level, the Membership-Checkout page will incorrectly confirm that "You have selected the?Free?membership level." It does not refresh to confirm a reselection of a different membership level. (Note: If you start in the very beginning by selecting the Monthly membership level, for example, and go back and choose, say, the Free membership, it will incorrectly confirm you selected the Monthly level, and so forth.)
    
    I foresee this being an issue with some people who change their minds during the membership-level selection process. 
    
    Here's the site health info you've asked for, below.  
    
    Thanks in advance for your further help and suggestions!
    
    Regards!
    Greg
    
    
    
    
    
    
     wp-core
    
    version: 6.5.2
    site_language: en_CA
    user_language: en_CA
    timezone: America/Edmonton
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 1
    blog_public: 1
    default_comment_status: undefined
    environment_type: production
    user_count: 4
    dotorg_communication: true wp-paths-sizes
    
    wordpress_path: /chroot/home/a478a983/f30e3a9392.nxcli.io/html
    wordpress_size: 638.53 MB (669549457 bytes)
    uploads_path: /chroot/home/a478a983/f30e3a9392.nxcli.io/html/wp-content/uploads
    uploads_size: 90.10 MB (94480826 bytes)
    themes_path: /chroot/home/a478a983/f30e3a9392.nxcli.io/html/wp-content/themes
    themes_size: 32.09 MB (33652231 bytes)
    plugins_path: /chroot/home/a478a983/f30e3a9392.nxcli.io/html/wp-content/plugins
    plugins_size: 213.39 MB (223751498 bytes)
    database_size: 16.36 MB (17154048 bytes)
    total_size: 990.47 MB (1038588060 bytes) wp-dropins (2)
    
    advanced-cache.php: true
    object-cache.php: true wp-active-theme
    
    name: Kadence (kadence)
    version: 1.2.4
    author: Kadence WP
    author_website: https://www.kadencewp.com/
    parent_theme: none
    theme_features: core-block-patterns, widgets-block-editor, menus, post-thumbnails, automatic-feed-links, title-tag, html5, custom-units, custom-line-height, customize-selective-refresh-widgets, responsive-embeds, editor-styles, align-wide, custom-spacing, block-templates, editor-style, amp, custom-logo, editor-color-palette, appearance-tools, border, widgets
    theme_path: /chroot/home/a478a983/f30e3a9392.nxcli.io/html/wp-content/themes/kadence wp-themes-inactive (3)
    
    Astra: version: 4.6.13, author: Brainstorm Force
    Twenty Twenty-Four: version: 1.1, author: the WordPress team
    Twenty Twenty-Three: version: 1.4, author: the WordPress team wp-mu-plugins (1)
    
    LearnDash Cloud: version: 1.0.13, author: LearnDash wp-plugins-active (18)
    
    Advanced Editor Tools: version: 5.9.2, author: Automattic
    Cache Enabler: version: 1.8.15, author: KeyCDN
    Classic Editor: version: 1.6.3, author: WordPress Contributors
    Classic Widgets: version: 0.3, author: WordPress Contributors
    Enable Media Replace: version: 4.1.5, author: ShortPixel
    Fluent Forms: version: 5.1.15, author: Contact Form - WPManageNinja LLC
    Kadence AI Starter Templates: version: 2.1.0, author: Kadence WP
    Kadence Blocks – Gutenberg Blocks for Page Builder Features: version: 3.2.36, author: Kadence WP
    LearnDash Licensing & Management: version: 1.3, author: LearnDash
    LearnDash LMS: version: 4.13.0, author: LearnDash
    LearnDash LMS - Course Grid: version: 2.0.9, author: LearnDash
    Object Cache Pro: version: 1.20.2, author: Rhubarb Group
    Paid Memberships Pro: version: 3.0.3, author: Paid Memberships Pro
    Paid Memberships Pro - Courses for Membership Add On: version: 1.2.5, author: Paid Memberships Pro
    Presto Player: version: 2.3.2, author: Presto Made, Inc
    Solid Security Pro: version: 8.4.2, author: SolidWP
    UpdraftPlus - Backup/Restore: version: 1.24.2, author: UpdraftPlus.Com, DavidAnderson
    WP Recipe Maker: version: 9.3.1, author: Bootstrapped Ventures wp-plugins-inactive (5)
    
    Akismet Anti-spam: Spam Protection: version: 5.3.2, author: Automattic - Anti-spam Team
    CDN Enabler: version: 2.0.8, author: KeyCDN
    Code Snippets: version: 3.6.4, author: Code Snippets Pro
    Quick Featured Images: version: 13.7.1, author: Kybernetik Services
    Starter Templates: version: 4.1.7, author: Brainstorm Force wp-media
    
    image_editor: WP_Image_Editor_Imagick
    imagick_module_version: 1693
    imagemagick_version: ImageMagick 6.9.13-7 Q16 x86_64 18310 https://legacy.imagemagick.org
    imagick_version: 3.7.0
    file_uploads: 1
    post_max_size: 1536M
    upload_max_filesize: 1536M
    max_effective_size: 2 GB
    max_file_uploads: 1,024
    imagick_limits:
    imagick::RESOURCETYPE_AREA: 415 GB
    imagick::RESOURCETYPE_DISK: 9.2233720368548E+18
    imagick::RESOURCETYPE_FILE: 768
    imagick::RESOURCETYPE_MAP: 207 GB
    imagick::RESOURCETYPE_MEMORY: 104 GB
    imagick::RESOURCETYPE_THREAD: 1
    imagick::RESOURCETYPE_TIME: 0
    imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FLV, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    gd_version: 2.3.3
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: 9.25 wp-server
    
    server_architecture: Linux 5.4.245-200.el7.x86_64 x86_64
    httpd_software: Apache
    php_version: 7.4.33 64bit
    php_sapi: fpm-fcgi
    max_input_variables: 16384
    time_limit: 600
    memory_limit: 2048M
    max_input_time: -1
    upload_max_filesize: 1536M
    php_post_max_size: 1536M
    curl_version: 7.29.0 NSS/3.90
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: true
    current: 2024-04-26T00:37:23+00:00
    utc-time: Friday, 26-Apr-24 00:37:23 UTC
    server-time: 2024-04-25T18:37:22-06:00 wp-database
    
    extension: mysqli
    server_version: 10.5.22-MariaDB
    client_version: mysqlnd 7.4.33
    max_allowed_packet: 1073741824
    max_connections: 512 wp-constants
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /chroot/home/a478a983/f30e3a9392.nxcli.io/html/wp-content
    WP_PLUGIN_DIR: /chroot/home/a478a983/f30e3a9392.nxcli.io/html/wp-content/plugins
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 2048M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: 1
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Undefined
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8
    DB_COLLATE: undefined wp-filesystem
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable objectcache
    
    general-status: Connected
    general-dropin: Valid
    general-license: Valid
    general-env: production
    general-multisite: No
    general-mu: No
    general-vcs: No
    general-eviction-policy: allkeys-lru
    general-compressions: LZF, LZ4, ZSTD
    general-basename: object-cache-pro/object-cache-pro.php
    general-client: RedisCachePro\Clients\PhpRedis
    versions-php: 7.4.33 (Outdated)
    versions-igbinary: 3.2.15
    versions-phpredis: 5.3.7
    versions-relay: Not installed
    versions-redis: 7.0.4
    versions-plugin: 1.20.2
    versions-dropin: 1.20.2
    statistics-redis-memory: 4 MB of 768 MB
    statistics-redis-keys: 5963
    groups-global: [
    "analytics",
    "objectcache",
    "blog-details",
    "blog-id-cache",
    "blog-lookup",
    "blog_meta",
    "global-posts",
    "networks",
    "network-queries",
    "sites",
    "site-details",
    "site-options",
    "site-queries",
    "site-transient",
    "theme_files",
    "translation_files",
    "rss",
    "users",
    "user-queries",
    "user_meta",
    "useremail",
    "userlogins",
    "userslugs"
    ]
    groups-non-persistent: [
    "counts",
    "plugins",
    "theme_json",
    "itsec-lockouts",
    "themes"
    ]
    groups-non-prefetchable: [
    "analytics",
    "objectcache",
    "userlogins",
    "wc_session_id"
    ]
    config-token: ????????ab71
    config-connector: RedisCachePro\Connectors\PhpRedisConnector
    config-cache: RedisCachePro\ObjectCaches\PhpRedisObjectCache
    config-logger: RedisCachePro\Loggers\ErrorLogLogger
    config-log_levels: emergency, alert, critical, error, warning
    config-scheme: tcp
    config-host: 10.75.114.154
    config-port: 46903
    config-database: 0
    config-username: null
    config-password: null
    config-prefix: null
    config-maxttl: 604800s (1 week)
    config-timeout: 1s
    config-read_timeout: 1s
    config-retry_interval: 10ms
    config-retries: 3
    config-backoff: smart
    config-persistent: false
    config-shared: null
    config-async_flush: true
    config-group_flush: keys
    config-network_flush: all
    config-cluster: null
    config-cluster_failover: error
    config-servers: null
    config-replication_strategy: distribute
    config-sentinels: null
    config-service: null
    config-tracer: newrelic
    config-serializer: igbinary
    config-compression: zstd
    config-global_groups: null
    config-non_persistent_groups: null
    config-non_prefetchable_groups: null
    config-prefetch: true
    config-split_alloptions: true
    config-analytics: {
    "enabled": true,
    "persist": true,
    "retention": 7200,
    "sample_rate": 100,
    "footnote": true
    }
    config-relay: {
    "cache": true,
    "listeners": false,
    "invalidations": true,
    "allowed": null,
    "ignored": [
    "<em>:analytics:</em>"
    ]
    }
    config-tls_options: null
    config-updates: true
    config-debug: false
    config-strict: false
    config-save_commands: false
    environment-WP_REDIS_DISABLED: undefined
    environment-OBJECTCACHE_CONFIG: undefined
    constants-WP_DEBUG: false
    constants-SAVEQUERIES: undefined
    constants-WP_REDIS_DIR: undefined
    constants-WP_REDIS_DISABLED: false
    constants-WP_REDIS_CONFIG: {
    "token": "????????ab71",
    "host": "10.75.114.154",
    "port": "46903",
    "database": "0",
    "maxttl": 604800,
    "timeout": 1,
    "read_timeout": 1,
    "retry_interval": 10,
    "retries": 3,
    "backoff": "smart",
    "compression": "zstd",
    "serializer": "igbinary",
    "async_flush": true,
    "split_alloptions": true,
    "prefetch": true,
    "debug": false,
    "save_commands": false
    } solid-security
    
    pro: pro
    initial_build: 4124
    activated: 2022-04-14 15:37:03
    patchstack: false
    modules:
    0: ban-users
    1: brute-force
    2: malware-scheduling
    3: magic-links
    4: user-logging
    5: version-management
    6: firewall
    7: webauthn
    settings:
    ban-users: Array
    brute-force: Array
    version-management: Array
    firewall: Array
    global: Array
    system-tweaks: Array
    wordpress-tweaks: Array
    hide-backend: Array
    passkeys-users: undefined
    passkeys-total: 0
    user_groups:
    0: Array
    1: Array
    2: Array
    3: Array
    4: Array learndash
    
    version: 4.13.0
    last_updated: 1713818474
    previous_version: 4.12.0
    license_validated: true
    course_count: 4
    group_count: undefined
    lesson_count: 53
    topic_count: 45
    quiz_count: 2
    question_count: undefined
    exam_count: undefined
    certificate_count: undefined
    shared_course_steps: true
    active_template: ld30
    focus_mode: false
    rtl: false
    registration_page: true
    currency: CAD
    nested_urls: true
    payment_gateway_paypal_ipn: false
    payment_gateway_stripe_connect: false
    payment_gateway_razorpay: false
    course_using_free_form_progression_count: undefined
    course_using_linear_progression_count: 4
    lesson_using_video_progression_count: undefined
    lesson_using_drip_content_count: undefined
    topic_using_drip_content_count: undefined
    quiz_using_randomized_question_ordering_count: undefined
    enrolled_user_count: 1
    LEARNDASH_DEBUG: false
    LEARNDASH_SCRIPT_DEBUG: false kadence-blocks
    
    version: 3.2.36
    last_updated: 1714079133
    previous_version: 3.2.35
    pro_active: No
    deactivated_blocks: None
    block_defaults: No
    block_visibility: No
    custom_colors: No
    recaptcha_key: No
    maps_key: No
    mailerlite_key: No
    cloud_connect: No pmpro
    
    pmpro-cron-jobs: pmpro_cron_expire_memberships (2024-04-26 01:32:16) |
    pmpro_cron_expiration_warnings (2024-04-26 01:32:17) |
    pmpro_cron_admin_activity_email (2024-04-26 17:30:00) |
    pmpro_cron_delete_tmp (2024-04-26 17:30:00) |
    pmpro_cron_credit_card_expiring_warnings (2024-05-13 17:32:16) |
    pmpro_license_check_key (2024-05-13 17:32:16)
    pmpro-gateway: Stripe [stripe]
    pmpro-gateway-env: Live/Production [live]
    pmpro-orders: 0 orders
    pmpro-discount-codes: 0 discount codes
    pmpro-sessions:
    session_status: Active
    pmpro-membership-levels: {
    "10": {
    "id": "10",
    "name": "Free",
    "description": "
    
    Access to the 'Histamine Connection' course, printable resources, and some recipes.<\/p>",
    "confirmation": "",
    "initial_payment": 0,
    "billing_amount": 0,
    "cycle_number": "0",
    "cycle_period": "0",
    "billing_limit": "0",
    "trial_amount": 0,
    "trial_limit": "0",
    "allow_signups": "1",
    "expiration_number": "0",
    "expiration_period": "0",
    "formatted_price": "<strong>Free<\/strong>.",
    "formatted_expiration": "",
    "meta": {
    "confirmation_in_email": [
    "0"
    ]
    }
    },
    "11": {
    "id": "11",
    "name": "Monthly",
    "description": "</strong>
    
    <strong>Access to all our courses, recipes, other resources, and one Office Hours block while you're subscribed.<\/p>",
    "confirmation": "",
    "initial_payment": 99,
    "billing_amount": 99,
    "cycle_number": "1",
    "cycle_period": "Month",
    "billing_limit": "0",
    "trial_amount": 0,
    "trial_limit": "0",
    "allow_signups": "1",
    "expiration_number": "0",
    "expiration_period": "0",
    "formatted_price": "$99.00 per Month<\/strong>.",
    "formatted_expiration": "",
    "meta": {
    "confirmation_in_email": [
    "0"
    ]
    }
    },
    "12": {
    "id": "12",
    "name": "Annual",
    "description": "</strong>
    
    <strong>Access to all our courses, recipes, other resources, and one Office Hours block.<\/p>",
    "confirmation": "",
    "initial_payment": 479,
    "billing_amount": 99,
    "cycle_number": "1",
    "cycle_period": "Year",
    "billing_limit": "0",
    "trial_amount": 0,
    "trial_limit": "0",
    "allow_signups": "1",
    "expiration_number": "0",
    "expiration_period": "0",
    "formatted_price": "$479.00<\/strong> now and then $99.00 per Year<\/strong>.",
    "formatted_expiration": "",
    "meta": {
    "confirmation_in_email": [
    "0"
    ]
    }
    }
    }
    pmpro-level-groups: {
    "1": {
    "id": "1",
    "name": "Main Group",
    "allow_multiple_selections": "0",
    "displayorder": "1",
    "level_ids": [
    "10",
    "11",
    "12"
    ]
    }
    }
    pmpro-custom-templates:
    pmpro-getfile-usage: PMPRO_GETFILE_ENABLED is not set
    pmpro-htaccess-cache-usage: Off
    pmpro-pages:
    account: https://grandioselaborer.mylearndash.com/membership-account/
    billing: https://grandioselaborer.mylearndash.com/membership-account/membership-billing/
    cancel: https://grandioselaborer.mylearndash.com/membership-account/membership-cancel/
    checkout: https://grandioselaborer.mylearndash.com/membership-account/membership-checkout/
    confirmation: https://grandioselaborer.mylearndash.com/membership-account/membership-confirmation/
    invoice: https://grandioselaborer.mylearndash.com/membership-account/membership-invoice/
    levels: https://grandioselaborer.mylearndash.com/membership-account/membership-levels/
    login: https://grandioselaborer.mylearndash.com/login/
    member_profile_edit: https://grandioselaborer.mylearndash.com/membership-account/your-profile/
    pmpro-library-conflicts: No library conflicts detected.
    pmpro-current-site-url: https://grandioselaborer.mylearndash.com
    pmpro-recorded-site-url: https://grandioselaborer.mylearndash.com
    pmpro-pause-mode: Disabled<strong> 
    Plugin Support Jarryd Long

    (@jarryd-long)

    Thanks so much for your feedback Greg, I was able to register and experience the same behavior. Visiting the site in incognito always shows the free level no matter what level has been chosen.

    There’s two things I’d recommend checking to look into as this is specific to your site:

    Caching

    Please try disabling the Object Cache Pro and Cache Enabler plugins and see if this

    Custom Code

    Do you have any custom code running on your site that perhaps changes or sets a default level or something similar?

    Kind Regards
    Jarryd
    Support Manager at Paid Memberships Pro

    Thread Starter gpmansfield

    (@gpmansfield)

    Hi Jarryd,

    Thank you very much for your suggestions. I didn’t set this WordPress site up; a colleague did. And I was wondering whether the cache plugins might be causing the problem but I didn’t want to overstep and disable them. But based on your suggestion I just disabled them both and it corrected the problem ??

    So, again, thank you very much for your time and attention on this … and have a great weekend!

    Greg

    Plugin Support Kim White

    (@kimwhite)

    Hello Greg,

    For help on setting up caching to work with PMPro, please see this post:
    https://www.paidmembershipspro.com/documentation/advanced/caching/

    All the Best,
    Kim White
    Support Engineer at Paid Memberships Pro

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem with Membership Levels on the New-Member Registration Page’ is closed to new replies.