[SOLVED] CB subs fatal error

8 years 7 months ago - 8 years 7 months ago #271753 by activha
[SOLVED] CB subs fatal error was created by activha
Hello
Latest CBsubs and CB releases
We have a fatal error when trying to access the main cbsubs display:
Fatal error: Call to a member function get() on a non-object in <span>/</span>var<span>/</span>www/html/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/models/something/cbpaidSomething.php on line 817

We cleaned the DB to remove two old unused plans , could it be ?
thanks

Please Log in to join the conversation.

8 years 7 months ago #271755 by beat
Replied by beat on topic CB subs fatal error
Touching the database outside CBSubs is outside normal working scope of CBSubs, and leads to database inconsistencies that can under certain circumstances lead to unexpected errors.

CBSubs won't allow you to delete plans which have subscriptions in the system.

You have 2 choices now:
1) restore the deleted plans in database (recommended choice)
2) delete in database also all subscriptions which were using those 2 plans (at your own risk)
backup first as usual in both cases.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

8 years 7 months ago #271801 by activha
Replied by activha on topic CB subs fatal error
Thanks we removed the lines and all is fine now.
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.185 seconds

Facebook Twitter LinkedIn