Skip to Content Skip to Menu

Can not edit user in backend

  • paxx
  • paxx
  • OFFLINE
  • Posts: 80
  • Thanks: 17
  • Karma: 0
10 years 1 month ago #252718 by paxx
Can not edit user in backend was created by paxx
Hi
FYI
I had profilbook enabled but had some issues with it (I know that it´s not fully compatible with cb 2.0.2 yet) so I unpublished the plug in.

Now when I tried to edit a profile in the backend I got I White screen, after putting debugging on to maximum I had this error:


Call to a member function get() on a non-object
.../components/com_comprofiler/plugin/user/plug_cbprofilebook/cb.profilebook.php:37

32 function getField( &$field, &$user, $output, $reason, $list_compare_types ) {
33 global $_CB_database;
34
35 $oReturn = '';
36
37 $fpbStatDisplay = $this->params->get( 'pbStatRating', '1' );
38
39 if ( ( $fpbStatDisplay == 1 ) && isset( $user ) && $user->id ) {
40
41 pbcbRatings::_getLanguageFile();


Anything to do or just wait until profilbook is updated?
Also noticed som errors using IE 11 (Can´t make any Connections, tab´s are missing in frontend etc)

Joomla 3.3.6
CB 2.0.2 (latest nightly build 11/12/2014 17:09 )

If the problem can be solved why worry? If the problem cannot be solved, worrying will do you no good.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48671
  • Thanks: 8312
  • Karma: 1446
10 years 1 month ago #252744 by krileon
Replied by krileon on topic Can not edit user in backend
Does disabling CB ProfileBook within CB > Plugin Management cause the issue to go away?


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.

  • paxx
  • paxx
  • OFFLINE
  • Posts: 80
  • Thanks: 17
  • Karma: 0
10 years 1 month ago #252746 by paxx
Replied by paxx on topic Can not edit user in backend
Hi
Yes it does

If the problem can be solved why worry? If the problem cannot be solved, worrying will do you no good.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48671
  • Thanks: 8312
  • Karma: 1446
10 years 1 month ago #252781 by krileon
Replied by krileon on topic Can not edit user in backend
Please ensure all your plugins are upgraded in accordance to the compatibility table found below.

www.joomlapolis.com/cb-20-addon-status

I was unable to confirm your issue. All I'm seeing in my tests are some minor strict standard warnings. Please note CB ProfileBook has not been updated for CB 2.0 compatibility.


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.

  • paxx
  • paxx
  • OFFLINE
  • Posts: 80
  • Thanks: 17
  • Karma: 0
10 years 1 month ago - 10 years 1 month ago #252794 by paxx
Replied by paxx on topic Can not edit user in backend
Hi Kyle
All plugin is up to date.
I did some test here and this is what I get:

This is only FYI (Mybee it could be to some help)

Test 1:
CB Profilebook "Enabled".
Acess level set to "Public".

Frontend: Menuitem "Profile" (My Profile) => Edit profile
Then I get a 500 error like this:

KExceptionFailure | Fatal Error [500]
Call to a member function get() on a non-object
.../components/com_comprofiler/plugin/user/plug_cbprofilebook/cb.profilebook.php:37
32 function getField( &$field, &$user, $output, $reason, $list_compare_types ) {
33 global $_CB_database;
34
35 $oReturn = '';
36
37 $fpbStatDisplay = $this->params->get( 'pbStatRating', '1' );
38
39 if ( ( $fpbStatDisplay == 1 ) && isset( $user ) && $user->id ) {
40
41 pbcbRatings::_getLanguageFile();
42


Test #2
CB Profilebook "Enabled".
Acess level set to "Guest".

Frontend: Menuitem "Profile" (My Profile) => Edit profile
Then I got this message:

 Warning: explode() expects parameter 2 to be string, array given in /public_html/components/com_comprofiler/plugin/user/plug_cbprivacy/cbprivacy.class.php on line 584 Warning: in_array() expects parameter 2 to be array, null given in /public_html/components/com_comprofiler/plugin/user/plug_cbprivacy/cbprivacy.class.php on line 594 Warning: in_array() expects parameter 2 to be array, null given in /public_html/components/com_comprofiler/plugin/user/plug_cbprivacy/cbprivacy.class.php on line 594 Warning: in_array() expects parameter 2 to be array, null given in /public_html/components/com_comprofiler/plugin/user/plug_cbprivacy/cbprivacy.class.php on line 594 Warning: in_array() expects parameter 2 to be array, null given in /public_html/components/com_comprofiler/plugin/user/plug_cbprivacy/cbprivacy.class.php on line 594 Warning: in_array() expects parameter 2 to be array, null given in /public_html/components/com_comprofiler/plugin/user/plug_cbprivacy/cbprivacy.class.php on line 594 Warning: in_array() expects parameter 2 to be array, null given in /public_html/components/com_comprofiler/plugin/user/plug_cbprivacy/cbprivacy.class.php on line 594

However I could do som profile change and saved it, right after I made another profile update but that did not work, page showed up but no tabs or anything else.

Test #3
CB Profilebook "Enabled".
Acess level set to "Registred".

Frontend: Menuitem "Profile" (My Profile) => Edit profile
Then I got the same error as in test #1

Test #4
CB Profilebook "Disabled".
Acess level set to "#".

Frontend: Menuitem "Profile" (My Profile) => Edit profile
Same message as in test #2

Test #5
CB Privacy "Disabled"
CB Profilebook "Enabled" Acesslevel "Special"

No error showing up just an empty page (see picture)


Don´t know if this is for any help for you but for now I just disable CB Profilebook.

If the problem can be solved why worry? If the problem cannot be solved, worrying will do you no good.
Attachments:
Last edit: 10 years 1 month ago by paxx.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48671
  • Thanks: 8312
  • Karma: 1446
10 years 1 month ago #252857 by krileon
Replied by krileon on topic Can not edit user in backend
Thank you for the debug information. Looks like it's a combination of CB ProfileBook and CB Privacy being bugged. CB Privacy upgrade is almost done and will be released this week.


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