Skip to Content Skip to Menu

[SOLVED] CB subs fatal error

  • activha
  • activha
  • ONLINE
  • Posts: 2327
  • Thanks: 117
  • Karma: 13
9 years 1 week ago - 9 years 1 week 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
Last edit: 9 years 1 week ago by krileon.

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

  • beat
  • beat
  • OFFLINE
  • Posts: 2169
  • Thanks: 463
  • Karma: 352
9 years 1 week 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 or Create an account to join the conversation.

  • activha
  • activha
  • ONLINE
  • Posts: 2327
  • Thanks: 117
  • Karma: 13
9 years 1 week 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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum