drupalprojects / kalatheme

Mirror of http://drupal.org/project/kalatheme provided by hubdrop.
http://hubdrop.org/project/kalatheme
GNU General Public License v2.0
22 stars 29 forks source link

WSOD if kalatheme_grid_size is included in panels layout #172

Open npoku opened 9 years ago

npoku commented 9 years ago

Hi gang, I'm seeing a weird problem here. As soon as I add the kalatheme_grid_size as part of my div class, panels goes crazy and doesn't allow me to switch layouts by giving me the white screen of death. This happens on all layouts. For example, I took a fresh radix layout, and instead of <div class="col-md-12 radix-layouts-header panel-panel">, I replaced it with: <div class="col-md-<?php print kalatheme_grid_size(KALATHEME_GRID_FULL); ?> radix-layouts-header panel-panel">.

If <?php print kalatheme_grid_size(KALATHEME_GRID_FULL); ?> isn't introduced, any layout works fine via hardcoding the col-md-12. As soon as it's replaced it, the white screen begins.

Thanks in advance.

soniktrooth commented 9 years ago

@npoku Are you able to look at your logs or turn on error reporting and tell us what the actual error is that is causing the WSOD?

npoku commented 9 years ago

@soniktrooth Sure, I'll see if I can recreate this problem. I maneuvered around it cautiously (aka ignored it and moved on). But I'll actually like to the bug and find a solution for it.

npoku commented 9 years ago

@soniktrooth I tried several times over the weekend turned on error reporting and looked at my logs. The system doesn't seem to be reporting it as an error at all. Nothing. Zip. Zilch. But I still get a WSOD. So weird. I reverted back to using numbered columns (i.e. col-md-4, etc).