After install the module every seems to run ok, but i try to add a simple Theme Switching Rule Chain.
Nodetype --> boletin -->boletinTheme

And a random warning appear navigating throw the site. I mean the warning do not appear ever time you load a page, appear some time, and some times not, but in every theme, even in the gardland theme who was set as administrator theme.
The warning is:

warning: implode() [function.implode]: Invalid arguments passed in /home/soluciones/domains/solucionespymes.es/public_html/includes/theme.inc on line 1275.

I just inactivate the theme switching rule and the warning never appear again. I create a different theme switching rule like
DrupalPath --> boletin% -->boletinTheme, and the warning appear again, ramdom but affecting all themes again.

Comments

mkalkbrenner’s picture

function theme_breadcrumb($breadcrumb) {
  if (!empty($breadcrumb)) {
    return '<div class="breadcrumb">'. implode(' » ', $breadcrumb) .'</div>';
  }
}

In your case $breadcrumb must contain something else than a regular breadcrumb array. It's hard to believe that this should be cause by ThemeKey. I guess that a different module or theme breaks the breadcrumb somehow.

neopulse’s picture

Status: Active » Closed (fixed)

I'm affray you are right, i uninstall the module, try with section module, to change the theme in the section where I use an specific path, and the warning appear again.
I going to investigate if its a the custom theme (but garland show the same warning) or another module.

by the moment i just.....

<?php
function theme_breadcrumb($breadcrumb) {
 /* if (!empty($breadcrumb)) {
    return '<div class="breadcrumb">'. implode(' » ', $breadcrumb) .'</div>';
  }*/
}
?>

I'm quite sure it´s not the best idea, but meanwhile.........

Excuse my English please