Skip to Content Skip to Menu

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

[SOLVED] CBSUBS 3.0 - fail backend

  • Dorkyme
  • Dorkyme
  • OFFLINE
  • Posts: 43
  • Thanks: 2
  • Karma: -1
11 years 8 months ago - 11 years 8 months ago #220201 by Dorkyme
[SOLVED] CBSUBS 3.0 - fail backend was created by Dorkyme
Hi!

Using:
PHP 5.3.10
Joomla 2.5.8
CB 1.9
All CB-plugins up to date
Kunena, uddeIM, sh404sef, virtuemart eg. up to date

Upgraded to the new CBSubs GPL version, and get the following error when entering the plugin backend:
Fatal error: Call to a member function replaceUserVars() on a non-object in <span>/</span>home<span>/</span>.../public_html/administrator/components/com_comprofiler/plugin.foundation.php on line 3702

Suggestions?

Regards,
Thomas
Last edit: 11 years 8 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 8 months ago #220230 by krileon
Replied by krileon on topic CBSUBS 3.0 - fail backend
Please enable debug mode and maximum error reporting in Joomla global configuration (both are important). Once done navigate to CBSubs backend again and provide the callstack to the error (easiest if screenshot is provided) so can see where the error is coming from exactly. You can also try disabling non-core CB plugins 1 by 1 until resolved as it could be a conflict of some kind.


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.

  • Dorkyme
  • Dorkyme
  • OFFLINE
  • Posts: 43
  • Thanks: 2
  • Karma: -1
11 years 8 months ago #220240 by Dorkyme
Replied by Dorkyme on topic CBSUBS 3.0 - fail backend
After enabling debug mode and maximum error reporting it now works fine.
I do not know why, but it does.

Seems to be a session error or something?
Same as: www.joomlapolis.com/forum/256-cbsubs-support/200381-solved-after-cbsubs-20-upgrade-errors-out

Topic solved.
The following user(s) said Thank You: krileon

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

  • activha
  • activha
  • OFFLINE
  • Posts: 2327
  • Thanks: 117
  • Karma: 13
11 years 1 month ago #233415 by activha
Replied by activha on topic CBSUBS 3.0 - fail backend
I have this exact same problem since upgrade to CBSUBS 3.0
Reinstalling CBSUBS 3.0 did not help neither

The error is : PHP Fatal error: Call to a member function replaceUserVars() on a non-object in /Applications/MAMP/htdocs/activha/administrator/components/com_comprofiler/plugin.foundation.php on line 3702

Deactivating all plugins except core does not help and this is with debug and max reporting activated.

We lived with it since a few months but this is an error to be solved on next version maybe

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 1 month ago #233442 by krileon
Replied by krileon on topic CBSUBS 3.0 - fail backend
Looks like a bug in CB it self. The function replaceUserVars prepares a cbUser object to run text through substitutions. However, this can return NULL resulting in ->replaceUserVars not working. Will fix for next release to handle NULL case.

forge.joomlapolis.com/issues/4234


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.

Moderators: beatnantkrileon
Powered by Kunena Forum