This is the third issue I've found with CB 1.2RC4 run on Joomla 1.0; when one clicks the Register link, CB returns these error messages:
Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/mysite/public_html/administrator/components/com_comprofiler/plugin.class.php on line 407
Warning: Invalid argument supplied for foreach() in /home/mysite/public_html/administrator/components/com_comprofiler/plugin.class.php on line 407
So, what's to be done? The code beginning at line 407 of plugin.class.php is:
[code:1]function callTemplate( $element, $subClass, $method, $args, $output = 'html' ) {
foreach ( array_keys( $this->_pluginGroups ) as $pluginId ) {
if ( $this->_pluginGroups[$pluginId]->element == $element ) {
return $this->call( $pluginId, $method, 'CB'.$subClass.'View_'. $output . '_' . $element , $args );[/code:1]
Thanks.
Post edited by: trlbldr, at: 2008/12/15 07:29
Post edited by: trlbldr, at: 2008/12/15 07:33