Skip to Content Skip to Menu

Error on membership Sugn-up: Column 'lastResetTime' cannot be null

3 weeks 5 days ago - 3 weeks 3 days ago #341003 by philiplardner
Hi,
I'm getting "Column 'lastResetTime' cannot be null" on new membership Sign-Up. The new user account gets created but no membership plan is assigned to the user record.

I recently migrated my site from J3 to J4 and finally to J5.3.0 - all went smoothly

CB/CBsubs are up to date, as are all other plugins and components.

I ran all the CB database Tools - no errors

I checked System - Maintenance - Databases - Update Structures (no errors reported)

I attach a copy of my System Information

Any help would be appreciated,

     Phil.
 
Attachments:
Last edit: 3 weeks 3 days ago by philiplardner.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49229
  • Thanks: 8415
  • Karma: 1462
3 weeks 3 days ago #341015 by krileon
CB doesn't have a lastResetTime column. That's a part of Joomla. Within your database ensure the _comprofiler table does not have a lastResetTime column. If it does delete it.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: philiplardner

Please Log in or Create an account to join the conversation.

3 days 20 hours ago - 3 days 15 hours ago #341197 by philiplardner

CB doesn't have a lastResetTime column. That's a part of Joomla. Within your database ensure the _comprofiler table does not have a lastResetTime column. If it does delete it.
I checked my _comprofiler table and there is no sign of a lastResetTime column, and the problem persists (no membership plan gets assigned to new account registrations) - new users are not able to login even after their account is Enabled, Confirmed and Approved. No membership plan gets assigned to the new account.

Login attempts result in an error message: "Session Expired - Please login again. Membership is required for access"

Clearing my browser cache doesn't help.

I can provide SuperUser access to the live site if needed.

Thanks,

Philip
Last edit: 3 days 15 hours ago by philiplardner.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49229
  • Thanks: 8415
  • Karma: 1462
3 days 15 hours ago - 3 days 15 hours ago #341202 by krileon
Please PM backend super user login credentials and will take a look. I believe something went wrong with your Joomla migration as lastResetTime absolutely can be null. Within _users database table ensure your table structure matches the below.

 


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 3 days 15 hours ago by krileon.

Please Log in or Create an account to join the conversation.

3 days 13 hours ago #341207 by philiplardner
PM sent.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49229
  • Thanks: 8415
  • Karma: 1462
2 days 15 hours ago #341218 by krileon
Ok, it looks like your table structure didn't migrate properly. Please update your _users table to match the above. You can leave whatever collation you currently have, but NULL state and defaults need to be updated for the table. Joomla 4 and 5 database tool should've caught this so am not sure why it's not picking up the structure issues. You'll have to fix this manually within phpmyadmin or whatever database management software you're using.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: philiplardner

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum