Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount! Get 20% off now with code SPOOKY-2024!

loadSomething error codes

  • edjec
  • edjec
  • OFFLINE
  • Posts: 132
  • Thanks: 12
  • Karma: 3
  • Add-ons
11 years 9 months ago #219615 by edjec
loadSomething error codes was created by edjec
I am trying to discover the cause of a number of loadSomething: error codes. I know this refers to a conflict between plans, but I can't seem to locate the cause. There are no child plans and the four membership plans we do have are identical except pricing.

The errors we're seeing are variations of these two:
Code:
loadSomething::subid 7251 with planid 1 could not load loadSomething::planid 1 of subid 4086 does not match planid 11

What I haven't been able to identify is the subid. Just what exactly does the subid refer to?

Thanks

J 1.5.26, CB 1.8.1, CBS 2.0.1

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
11 years 9 months ago #219620 by krileon
Replied by krileon on topic loadSomething error codes
You have a subscription in your database for a plan with an id of 1 that does not exist. My guess is you deleted a plan while it still had subscriptions. Only way to fix this is to remove the broken subscriptions or add the plan back and giving it an id of 1 through database. subid is the subscription id.


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.

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

  • edjec
  • edjec
  • OFFLINE
  • Posts: 132
  • Thanks: 12
  • Karma: 3
  • Add-ons
11 years 9 months ago - 11 years 9 months ago #219627 by edjec
Replied by edjec on topic loadSomething error codes
Thanks for the quick reply krileon,

I thought that the subid might refer to the subscription id and I checked the cbsubs_subscription table and could not find the number referenced in the error. That explains why - it's missing.

No plans have been created or deleted - plan 1 (and the other three plans) has been active for 18 months or so.

Does the subid have any relation to the userid? In other words; how can I identify which member's subscription is in conflict or could the user have been delete and for some reason the subscription data remained?

Also the second error: planid 1 of subid 4086 does not match planid 11. I don't understand the relationship here. Each plan is independent of the other and there are no child plans. A member can only subscribe to one plan at a time, so I don't understand why a subscription would have to match both plans?

Can you clarify this?

Thank you.
Last edit: 11 years 9 months ago by edjec.

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

  • edjec
  • edjec
  • OFFLINE
  • Posts: 132
  • Thanks: 12
  • Karma: 3
  • Add-ons
11 years 9 months ago #219628 by edjec
Replied by edjec on topic loadSomething error codes
Belay that last post. I have been able to locate some of the memberships in question.

However, in examining their records, I don't see what the conflict might be.

Example: planid 11 (subid 6686, identified as userid 7209) does not match planid 1.

This particular member does have plan 11 (member plus associate) and I see that on the date the error was thrown, an admin changed this member from planid 1 (member only) to planid 11.

This happens quite often as members switch plans, but why the error?

Thanks

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

  • edjec
  • edjec
  • OFFLINE
  • Posts: 132
  • Thanks: 12
  • Karma: 3
  • Add-ons
11 years 9 months ago #219637 by edjec
Replied by edjec on topic loadSomething error codes
[Update]

Since my last post, I spent some time examining the cbsubs_subscription table against the user records and the subscription error notices. Most, but not all, of the subid's in the error messages are missing/deleted from the cbsubs_subscription table. Those that were still there had activity from one of our admins at the same time as the error was thrown.

Here's what I think is happening; a member mails in a renewal form/check and requests a membership plan change. The admin initiates a renewal from the front end (because most of the members will not do so) and then processes the basket for payment. The admin then opens CB Paid Subscriptions: Subscriptions, locates the member and clicks the subscription ID opening the Edit Subscription panel where the membership plan is changed.

Not good and I'm trying to break her of this habit. But here is my question. In doing this, is the original plan deleted from the cbsubs_subscription table? My thought is that the missing subid's are from the original that was changed and no longer exists. If so, then that is the reason for the error and why I can't find the record in the table.

Am I on base here?

Thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
11 years 9 months ago #219654 by krileon
Replied by krileon on topic loadSomething error codes
Your admin is forcing database changes to subscriptions. Tell her to stop as she's corrupting your tables. That is purely there for fixing minor issues like wrong dates, it is not a way to pay or change a subscription.

Your admin is forcing a plan change only to the subscription. This does not change the basket or the payment. This causes basically a database sync error as seen in the error message. Basically, tell her to stop doing this and it'll be fine.

To fix those already broken you will need to check all of CBSubs tables and fix the basket, payment, etc.. of that purchase from pointing to the old planid 1.

The proper way to change a subscription is to edit the user in CB > User Management and give them a new subscription to the correct plan then delete the old using the same method. If the date needs to be adjusted it's fine to do so by editing the subscription directly through CBSubs > Subscriptions, but don't change the plan or you'll run into the same issues as above.


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: edjec

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

Moderators: beatnantkrileon
Powered by Kunena Forum