Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Membership Level "XX" couldn't be created due to error.

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › Membership Level "XX" couldn't be created due to error.

  • This topic has 3 replies, 3 voices, and was last updated 4 years, 12 months ago by wzp.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • December 26, 2019 at 7:57 pm #15236
    yiyeluwei
    Member

    wp eMember v10.2.6

    wordpress 5.3.2

    php 7.3.11

    mysql 8.0.18

    When I try to create my first membership level, red alert appears: Membership Level “XX” couldn’t be created due to error.

    Just bought the plugin today. Not sure what to do with this error.

    Best Regards

    Yuan

    December 29, 2019 at 3:19 am #80213
    wzp
    Moderator

    Please deactivate the plugin and try installing a fresh copy:

    https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins

    August 6, 2020 at 5:07 pm #80214
    Plugin User
    Participant

    I had the same problem. On investigation here are my findings and how i fixed it.

    I have WordPress installed on Azure on MySQL. After installing and uninstalling eMember multiple times i was unable to resolve the issue.

    Observation: Tables wp_wp_eMember_membership_tbl, wp_wp_auth_session_tbl, wp_wp_members_meta_tbl, wp_wp_eMember_members_tbl Did not exist in the database.

    Issue: The issue seems to be the Database Engine on Azure being InnoDB while the scripts assume MyISAM. (Ref: eMember_installer.php lines: 74, 102, 116, 139, 175, 234, 243, 256, 278)

    Solution: I created these 4 tables manually.

    Steps:

    1. Downloaded a MySQL Client tool. Heidisql worked for me just fine.

    2. Run SQL Create Table Statements to create these Tables manually using InnoDB Engine.

    3. Only one change in script was needed, looks like InnoDB does not accept Default Date parameters to be ‘0000-00-00’, so I had to change that to ‘2000-01-01’.

    4. Restarted the website.

    Everything seems to be working now.

    August 6, 2020 at 9:54 pm #80215
    wzp
    Moderator

    Thank you for providing your solution. For further clarification to others: InnoDB is actually the DB “engine” that runs beneath MySql. The default DB engine is MyISAM.

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

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ