Skip to Content Skip to Menu

[SOLVED] CB paid subscription module don´t work for some profiles/accounts

7 years 6 months ago - 7 years 6 months ago #292750 by zahmundzornig
I integrated the CB paid subscription module in our profile view. It works fine with the most profiles. But when I login with my main super administrator account in the frontend, I get the error message "Error: 0 Call to a member function getPersonalized() on null".

I have no idea why this module don´t work with this account. Any ideas where I can look for the issue?

Joomla 3.6.5
CB 2.1.2
Latest Plugins

Thank you!
Michael

www.zahmundzornig.de thanx joomlapolis for the great work and support!
Build with CB: www.jaii.de
Last edit: 7 years 6 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48449
  • Thanks: 8280
  • Karma: 1443
7 years 6 months ago #292755 by krileon
Enable debug mode and maximum error reporting in Joomla global configuration then retry to get the full error message as we need to know the location of the error in code to be able to investigate what's going on.


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.

7 years 6 months ago - 7 years 6 months ago #292862 by zahmundzornig
I enabled the debug mode. But I think we get no further relevant information. Enclosed please find a screenshot of the page. The page stop loading after pass the cb paid subscription module.

I post an other screetshot, logged in with an other user account. There is no plrobelm. Only with my own superuser account.




www.zahmundzornig.de thanx joomlapolis for the great work and support!
Build with CB: www.jaii.de
Attachments:
Last edit: 7 years 6 months ago by zahmundzornig.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48449
  • Thanks: 8280
  • Karma: 1443
7 years 6 months ago #292877 by krileon
Strange, doesn't make sense for the API to return a plan object as null. Please check within the _cbsubs_plans database table to ensure all database rows are valid as maybe it's trying to load a broken plan row. Compare the rows to CBSubs > Plans to ensure each row does in fact exist in CBSubs backend. If it doesn't then delete the row.


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.

7 years 6 months ago #293155 by zahmundzornig
Problem solved. The _cbsubs_plans database was correct. I checked other places for inconsistency.

I checked the subscriptions/plans I completed with the problematic user. Years ago I deleted a plan out of the system (instead of deactivating). The result is that there was a subscription ID in the database (_cbsubs_subscription) with no plan name (because I deleted the plan). I replace the empty space with an existing plan. Now it works.

Thank you!

www.zahmundzornig.de thanx joomlapolis for the great work and support!
Build with CB: www.jaii.de
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum