[SOLVED] Cb Conditional error message

11 years 6 months ago - 11 years 5 months ago #213085 by Jaffa12
[SOLVED] Cb Conditional error message was created by Jaffa12
Hi Guys,
I've installed the cbConditional plugin and it appears to be working perfectly apart from an error message that appears at the top of every user's profile.

The message is:
Warning: Missing argument 6 for cbconditionalTab::fieldsFetch() in <span>/</span>home<span>/</span>xxx/public_html/components/com_comprofiler/plugin/user/plug_cbconditional/tab.cbconditional.php on line 52

Our site is currently running CB1.8 and Joomla 1.5.26. Error reporting in Joomla Global Config is set to NONE.

We are using the plugin to display a delimiter field (which contains a small icon (.jpeg)) only on profiles that have selected 'Yes' to another field (multicheckbox type).
Seems to work well apart from the error message.

Any ideas what might be causing the error or how to remove the message?

Please Log in to join the conversation.

11 years 6 months ago #213136 by krileon
Replied by krileon on topic Re: Cb Conditional error message
Please upgrade to CB 1.8.1 and ensure you're using latest CB Conditional (latest is 1.8.11).


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 6 months ago #213164 by Jaffa12
Replied by Jaffa12 on topic Re: Cb Conditional error message
I've upgraded to 1.8.1 now Krileon. Already using CB Conditional 1.8.11. Problem still remains though.

Please Log in to join the conversation.

11 years 6 months ago #213166 by Jaffa12
Replied by Jaffa12 on topic Re: Cb Conditional error message
Also, when I turn Error Reporting to MAXIMUM I get a second error message...
Notice: Undefined variable: fullAccess in /home/xxx/public_html/components/com_comprofiler/plugin/user/plug_cbconditional/tab.cbconditional.php on line 57

Please Log in to join the conversation.

11 years 6 months ago #213200 by krileon
Replied by krileon on topic Re: Cb Conditional error message
Please re-install CB over top of it self (you won't lose any settings) to ensure no core edits were made. There is something wrong with your install and the trigger is not passing the necessary variables. Please also re-install CB Conditional to remove any possible core edits as that variable is clearly defined in the function as follows.

public function fieldsFetch( &$fields, &$user, $reason, $tabid, $fieldIdOrName, $fullAccess ) {


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 5 months ago #214827 by Jaffa12
Replied by Jaffa12 on topic Re: Cb Conditional error message
Thanks Krileon. Problem is now solved. Only needed to re-install the plugin.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.229 seconds

Facebook Twitter LinkedIn