[SOLVED] CBSUBS 3.0 - fail backend

11 years 2 months ago - 11 years 2 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

Please Log in to join the conversation.

11 years 2 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 to join the conversation.

11 years 2 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 to join the conversation.

10 years 7 months 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 to join the conversation.

10 years 7 months 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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.198 seconds

Facebook Twitter LinkedIn