Skip to Content Skip to Menu

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

Call to a member function get() on a non-object in

  • jupco
  • jupco
  • OFFLINE
  • Posts: 34
  • Thanks: 3
  • Karma: 1
11 years 1 week ago #235638 by jupco
Hi again :)

Guys i have some problem with my site...

I created under "registered" group two new groups for user, after i by the auto action plugin and conditional plugin i created field in registration where can user select between this two groups and conditional plug shows him selected fields and auto action module give him to selected user group.

Problem is.. Registration goes great, fields are showing how i want, users are moving to groups automaticaly, but if the user clicks on button "my profile" that shows blank page with this text:

Fatal error: Call to a member function get() on a non-object in /home/webspace/infodesk.sk/www/html/components/com_comprofiler/plugin/user/plug_cbprofilebook/cb.profilebook.php on line 37



anybody knows whats wrong?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
11 years 1 week ago #235665 by krileon
Looks like your conditioning the rating field used by the CB ProfileBook plugin. Disable conditions for the rating field and see if issue persists.


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.

  • jupco
  • jupco
  • OFFLINE
  • Posts: 34
  • Thanks: 3
  • Karma: 1
11 years 1 week ago #235672 by jupco
Hi thank you veru much.

I turn of conditions from registration and it goes right.

But question is, what is the better way for select which fields will be shown to the users group and which dont?

i have drop down field with value1 and value2

condition here if equal to: value2 it will shows 6 new fields.

any idea? :)

Thanks again :)

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
11 years 1 week ago #235680 by krileon
It's fine to condition fields. The problem is you're conditioning fields that shouldn't be conditioned. For example a Rating field doesn't really have an Edit usage and should avoid conditioning it in profile edit. Same for a CB Progress field for example.


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.

  • jupco
  • jupco
  • OFFLINE
  • Posts: 34
  • Thanks: 3
  • Karma: 1
11 years 1 week ago #235696 by jupco
Okey, i understand.

But what i can do, if i dont want the users from group1 have rating in their profile?

I want just group2 could be rated of all users.

Thanks.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
11 years 1 week ago #235749 by krileon

But what i can do, if i dont want the users from group1 have rating in their profile?

You condition it for profile view only. When editing your condition under "For..." enable it only for profile view.


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