Userprofile - Warning: array_intersect()

12 years 1 month ago #193211 by AusAPT
Thank you Kyle!
Have sent a PM to beat.

Please Log in to join the conversation.

12 years 1 month ago #193475 by AusAPT
*bump*

Please Log in to join the conversation.

12 years 1 month ago #194301 by AusAPT
Unfortunately, the problem still hasn't been solved.

Please Log in to join the conversation.

12 years 1 month ago #194779 by stimofeev
Replied by stimofeev on topic Re: Userprofile - Warning: array_intersect()
Any resolution on this issue, I have the same issue on a new install using Joomla 2.5, CB 1.8 and CSubs 1.3 RC1

Please Log in to join the conversation.

12 years 1 month ago - 12 years 1 month ago #195275 by diogotu
Replied by diogotu on topic Re: Userprofile - Warning: array_intersect()
Hi,

my joomla version 2.5.3
CB version 1.8
CBsubs version 1.3 RC

I think i have also more or less the same problem! but no problem in the frontend, only in the backend, in the history and logs.

In my history and logs i receive per day more than 1000 of this error mensage per day... i deleted all and in only 10 days i have 10430 error logs...


History and Logs
This is the full log of history events, change log, and error log.
Event type: Error log
Event time: 03/19/2012 09:45:56
Message:
WARNING: array_intersect() [<a href='function.array-intersect'>function.array-intersect</a>]: Argument #1 is not an array in .../components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/cbpaidsubscriptions.php on line 2517
Trace:
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(NULL, array(0 => 8))
called in function call_user_func_array(object(moscomprofilerUser), NULL) on line 583 in file plugin.class.php
called in class cbPluginHandler::call(object(moscomprofilerUser), NULL) on line 4157 in file comprofiler.class.php
called in class cbTabs::_callTabPlugin(object(moscomprofilerTabs), object(moscomprofilerUser), 1, NULL) on line 3350 in file comprofiler.class.php
called in class cbTabs::generateViewTabsContent(array(0 => object(getcbpaidsubscriptionsTab), 1 => "getDisplayTab"), array(0 => object(moscomprofilerTabs), 1 => object(moscomprofilerUser), 2 => 1, 3 => NULL)) on line 3405 in file comprofiler.class.php
called in class cbTabs::getViewTabs("505", "getDisplayTab", "getcbpaidsubscriptionsTab", array(0 => object(moscomprofilerTabs), 1 => object(moscomprofilerUser), 2 => 1, 3 => NULL), "plug_fieldsprotectbysub_level=0plug_fieldsprotectbysub_hideMessage=plug_fieldsprotectbysub_showMessage_visitor=plug_fieldsprotectbysub_hideMessage_visitor=plug_fieldsprotectbysub_profile=plug_fieldsprotectbysub_profile_owner=1plug_fieldsprotectbysub_edit=plug_fieldsprotectbysub_showMessage=plug_fieldsprotectbysub_profile_mods=0plug_fieldsprotectbysub_edit_mods=0plug_fieldsprotectbysub_level_viewer=0plug_fieldsprotectbysub_viewer_plans=plug_fieldsprotectbysub_viewer_search=plug_fieldsprotectbysub_viewer_owner=1plug_fieldsprotectbysub_viewer_mods=0plug_cbprivacy_tab_level=0plug_cbprivacy_frontend_edit=0") on line 1144 in file plugin.foundation.php
called in class CBuser::getProfileView(object(moscomprofilerTabs), object(moscomprofilerUser), "getcbpaidsubscriptionsTab", "getDisplayTab", "505") on line 434 in file comprofiler.html.php
called in class HTML_comprofiler::userProfile(object(moscomprofilerUser), "") on line 710 in file comprofiler.php
called in function userProfile(object(moscomprofilerUser), "") on line 103 in file comprofiler.php
called in function require_once(".../components/com_comprofiler/comprofiler.php") on line 388 in file helper.php
called in class JComponentHelper::executeComponent() on line 357 in file helper.php
called in class JComponentHelper::renderComponent(object(moscomprofilerUser), "com_comprofiler", "Atualizar") on line 187 in file application.php
called in class JSite::dispatch("com_comprofiler", 0, "Atualizar") on line 42 in file index.php(11) : eval()'d code
called in function eval() on line 11 in file index.php
$_GET = array (
'option' => 'com_comprofiler',
'task' => 'userprofile',
'user' => '85',
'Itemid' => NULL,
)
$_POST = array (
)

Table affected: -
Table Key:
Change:
Change:
Username: System
Full name: -
User Id: 0

Thanks

Please Log in to join the conversation.

12 years 1 month ago - 12 years 1 month ago #195591 by beat
This is actually due to a bug in CB 1.8 and previous.

To quickly fix it, open administrator/components/com_comprofiler/library/cb/cb.tables.php and line 609:

change:
	var $gids					=	null;
to:
	var $gids					=	array();

We will add an additional workaround-fix in upcoming CBSubs 1.3.0 RC2.

Related bug in CB: #3391 for the above fix.

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

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.287 seconds

Facebook Twitter LinkedIn