Skip to Content Skip to Menu

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

[SOLVED] Error in BO user list view

  • Pere LK
  • Pere LK
  • OFFLINE
  • Posts: 114
  • Thanks: 2
  • Karma: 1
11 years 9 months ago - 11 years 9 months ago #218302 by Pere LK
[SOLVED] Error in BO user list view was created by Pere LK
Hi,
I have these errors since fews month but all works fine so I didn't take time to solve it, but I take it now ^^
At this moment my environnement his : J!2.5.8, CB 1. no cb

I have these error message in the BO user list view :

Warning: reset() expects parameter 1 to be array, null given in /xxxxxxx/public_html/administrator/components/com_comprofiler/comprofiler.class.php on line 359

Warning: Invalid argument supplied for foreach() in xxxxxxxx/public_html/administrator/components/com_comprofiler/comprofiler.class.php on line 370.

I found many information but I don't use groupjive or cb subs.

Thanks for your help
Attachments:
Last edit: 11 years 9 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
11 years 9 months ago #218321 by krileon
Replied by krileon on topic Re: Error in BO user list view
Can you provide exact CB version? I believe this was fixed in CB 1.9 and happens when no user rows are returned (usually due to filtering 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.

  • Pere LK
  • Pere LK
  • OFFLINE
  • Posts: 114
  • Thanks: 2
  • Karma: 1
11 years 9 months ago #218325 by Pere LK
Replied by Pere LK on topic Re: Error in BO user list view
Hi,
Sorry CB 1.9 and I have these message with full list, filtered list...

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
11 years 9 months ago #218330 by krileon
Replied by krileon on topic Re: Error in BO user list view
That's coming from selectList (generates html for a dropdown select), ensure you don't have an empty (no values) Select fieldtype.


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.

  • Pere LK
  • Pere LK
  • OFFLINE
  • Posts: 114
  • Thanks: 2
  • Karma: 1
11 years 9 months ago #218343 by Pere LK
Replied by Pere LK on topic Re: Error in BO user list view
Okay thks I have solve the pb with this code in order to found wich field have pb :
Code:
try{ if(!reset( $arr )) throw new Exception("liste qui pose pb : ".$tag_name); } catch (Exception $e) { echo $e->getMessage(); }

Thanks again and see you(I will come back in other post for the new forum plug ^^)

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
11 years 9 months ago #218349 by krileon
Replied by krileon on topic Re: Error in BO user list view
The problem isn't the code. The problem is you've a select field or something calling that API that has an empty array or not sending an array at all. This typically means you have a CB select fieldtype with no values. I do not recommend altering core code.


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