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

[Resolved] Administrative add new member fails with javascript error

Simple Membership Plugin › Forums › Simple Membership Plugin › Administrative add new member fails with javascript error

  • This topic has 2 replies, 2 voices, and was last updated 2 years ago by steve17865.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • September 21, 2024 at 8:54 pm #28848
    steve17865
    Participant

    I just downloaded and activated the plugin on 9/20/24 and I’m seeing this issue…

    When I add a new member from the admin interface it throws a js error on fieldElement.value for the firstname input. This is when it is processing the form validators. fieldElement is null because the firstname input does not have a swpm-form-firstname selector on it, so the registrationForm.querySelector() does not find the field. As a result of the exception, the new member is not added and no message or reason is given in the UI.

    September 21, 2024 at 9:53 pm #28850
    The Assurer
    Moderator

    Please delete, download and reinstall a fresh copy of the plugin. If the error still persists; please turn on the SWPM debug logs, and go through this checklist:
    https://simple-membership-plugin.com/forums/topic/test-for-plugin-and-theme-conflict-before-posting-an-issue-or-a-bug/

    September 21, 2024 at 11:43 pm #28853
    steve17865
    Participant

    Ok, even with all other plugins deactivated, I still see the javascript error. However, the javascript error doesn’t seem to be a cause of it not adding the new member. I think it’s unrelated. The new member wasn’t added because the email I gave matched the email of an existing (non-member) WP user.

    Thanks

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

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