Jump to content

Edit History

R.Shredder

R.Shredder


wrong code

In debug mode, i still get :
 

Notice: Undefined index: id_category

in 9984ab50a088bf9f57339172de9a00e764435787_2.file.layout-both-columns.tpl.php line 47

with a bunch of many other errors. When i open that cache file, line 47 goes like this  (i included here from line 45 to 47) :

<body id="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['page']->value['page_name'], ENT_QUOTES, 'UTF-8');?>
" class="<?php echo htmlspecialchars(call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'classnames' ][ 0 ], array( $_smarty_tpl->tpl_vars['page']->value['body_classes'] )), ENT_QUOTES, 'UTF-8');?>
         
 <?php if ($_smarty_tpl->tpl_vars['page']->value['page_name'] != 'index') {?>sub-page<?php }?>"<?php if ($_GET['id_category']) {?> class="cat<?php echo htmlspecialchars($_GET['id_category'], ENT_QUOTES, 'UTF-8');?>
"<?php }?>>

I have no idea how to fix this ! 😥

 

R.Shredder

R.Shredder

In debug mode, i still get :
 

Notice: Undefined index: id_category

in 9984ab50a088bf9f57339172de9a00e764435787_2.file.layout-both-columns.tpl.php line 47

with a bunch of many other errors. When i open that cache file, line 47 goes like this  (i included here from line 45 to 47) :

<?php if ($_smarty_tpl->tpl_vars['page']->value['page_name'] != 'index') {?>sub-page<?php }?>"<?php if ($_GET['id_category']) {?> class="cat<?php echo htmlspecialchars($_GET['id_category'], ENT_QUOTES, 'UTF-8');?>
"<?php }?>>

I have no idea how to fix this ! 😥

 

×
×
  • Create New...