×

Error

Please login first

Userprofile - Warning: array_intersect()

12 years 2 months ago - 12 years 2 months ago #192225 by AusAPT
Since upgrading to the most recent CBSubs version all public userprofiles show the following error:

Warning: array_intersect() [function.array-intersect]: Argument #1 is not an array in /home/ausaptor/public_html/components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/cbpaidsubscriptions.php on line 2517

e.g.: ausapt.org.au/cb-profile/userprofile/a_burki

When logged in, this error does not appear. Any suggestions?
Thanks,
Mike

Please Log in to join the conversation.

12 years 2 months ago #192331 by krileon
Replied by krileon on topic Re: Userprofile - Warning: array_intersect()
Please ensure you're using CB 1.8 with CBSubs 1.3rc1. Please provide Joomla version.


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.

12 years 2 months ago #192449 by AusAPT
Hi Krileon,

It's Joomla 1.5.25
CB 1.8
CBSubs 1.3.0 RC1

Thanks!

Please Log in to join the conversation.

12 years 2 months ago #192607 by beat
We need to investigate this.

Can you please post the detail of the History error log (you can use [ confidential ] bbcode for that. Or Private-Message to Kyle (krileon) access to the admin are ?

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
The following user(s) said Thank You: AusAPT

Please Log in to join the conversation.

12 years 2 months ago #192868 by AusAPT
Sent a PM to Kyle

Please Log in to join the conversation.

12 years 2 months ago #192893 by krileon
Replied by krileon on topic Re: Userprofile - Warning: array_intersect()
Error callstack attached as follows.
called in class getcbpaidsubscriptionsTab::_displaySubscriptionsAndInvoicesLink() on line 2576 in file cbpaidsubscriptions.php
called in class getcbpaidsubscriptionsTab::_displayUserTab() on line 2596 in file cbpaidsubscriptions.php
called in class getcbpaidsubscriptionsTab::getDisplayTab(object(moscomprofilerTabs), object(moscomprofilerUser), 1, NULL)
called in function call_user_func_array(array(0 => object(getcbpaidsubscriptionsTab), 1 => "getDisplayTab"), array(0 => object(moscomprofilerTabs), 1 => object(moscomprofilerUser), 2 => 1, 3 => NULL)) on line 583 in file plugin.class.php
called in class cbPluginHandler::call("500", "getDisplayTab", "getcbpaidsubscriptionsTab", array(0 => object(moscomprofilerTabs), 1 => object(moscomprofilerUser), 2 => 1, 3 => NULL), "plug_cbprivacy_tab_level=0plug_cbprivacy_frontend_edit=0") on line 4157 in file comprofiler.class.php
called in class cbTabs::_callTabPlugin(object(moscomprofilerTabs), object(moscomprofilerUser), "getcbpaidsubscriptionsTab", "getDisplayTab", "500") on line 3350 in file comprofiler.class.php
called in class cbTabs::generateViewTabsContent(object(moscomprofilerUser), "") on line 3405 in file comprofiler.class.php
called in class cbTabs::getViewTabs(object(moscomprofilerUser), "") on line 1144 in file plugin.foundation.php
called in class CBuser::getProfileView() on line 433 in file comprofiler.html.php
called in class HTML_comprofiler::userProfile(object(moscomprofilerUser), "com_comprofiler", "Update") on line 710 in file comprofiler.php
called in function userProfile("com_comprofiler", 0, "Update") on line 103 in file comprofiler.php
called in function require_once("/components/com_comprofiler/comprofiler.php") on line 162 in file helper.php
called in class JComponentHelper::renderComponent("com_comprofiler") on line 124 in file application.php
called in class JSite::dispatch("com_comprofiler") on line 68 in file index.php

Looks to be a problem with how the link is calculated, but not further details that I can see point to exact cause; needs review by Beat as I can't see source.


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.243 seconds

Facebook Twitter LinkedIn