PHP warning

Undefined array key "businessCategory"

/mnt/HC_Volume_23321257/focusextranet/public_html/catalogafaceri.ro/public_html/protected/runtime/smarty/compile/53168ca47bfc6e32b4d1e49417f15b0c72bc0fe5.file.pagination.html.php(94)

082     <?php $_smarty_tpl->tpl_vars['link'] = new Smarty_variable((ucfirst(($_smarty_tpl->tpl_vars['link']->value).(Yii::app()->controller->getAction()->id))).("/"), null, 0);?>
083 
084     <?php if (!empty($_smarty_tpl->tpl_vars['focusMedicalPage']->value)){?>
085       <?php $_smarty_tpl->tpl_vars['link'] = new Smarty_variable(substr($_smarty_tpl->tpl_vars['link']->value,0,-1), null, 0);?>
086       <?php $_smarty_tpl->tpl_vars['link'] = new Smarty_variable((($_smarty_tpl->tpl_vars['link']->value).("/?cat=")).($_smarty_tpl->tpl_vars['subCategoryId']->value), null, 0);?>
087       <?php if (!empty($_smarty_tpl->tpl_vars['county']->value)){?>
088         <?php $_smarty_tpl->tpl_vars['link'] = new Smarty_variable((($_smarty_tpl->tpl_vars['link']->value).("&county=")).($_smarty_tpl->tpl_vars['county']->value->id), null, 0);?>
089       <?php }?>
090     <?php }?>
091 
092     <?php if (!empty($_smarty_tpl->tpl_vars['categoryPage']->value)){?>
093       <?php $_smarty_tpl->tpl_vars['link'] = new Smarty_variable(substr($_smarty_tpl->tpl_vars['link']->value,0,-1), null, 0);?>
094       <?php $_smarty_tpl->tpl_vars['link'] = new Smarty_variable((($_smarty_tpl->tpl_vars['link']->value).("/?cat=")).($_smarty_tpl->tpl_vars['businessCategory']->value->id), null, 0);?>
095       <?php if (!empty($_smarty_tpl->tpl_vars['county']->value)){?>
096         <?php $_smarty_tpl->tpl_vars['link'] = new Smarty_variable((($_smarty_tpl->tpl_vars['link']->value).("&county=")).($_smarty_tpl->tpl_vars['county']->value->id), null, 0);?>
097       <?php }?>
098       <?php $_smarty_tpl->tpl_vars['link'] = new Smarty_variable(($_smarty_tpl->tpl_vars['link']->value).("&page="), null, 0);?>
099     <?php }?>
100 
101     <?php if (!empty($_smarty_tpl->tpl_vars['countryDetails']->value)){?>
102         <?php $_smarty_tpl->tpl_vars['link'] = new Smarty_variable((((($_smarty_tpl->tpl_vars['link']->value).($_smarty_tpl->tpl_vars['countryDetails']->value->name)).("/")).($_smarty_tpl->tpl_vars['countryDetails']->value->id)).("/"), null, 0);?>
103     <?php }?>
104 
105     <?php if (!empty($_smarty_tpl->tpl_vars['cityHallList']->value)&&!empty($_smarty_tpl->tpl_vars['categoryId']->value)){?>
106         <?php $_smarty_tpl->tpl_vars['link'] = new Smarty_variable(((($_smarty_tpl->tpl_vars['link']->value).("?id=")).($_smarty_tpl->tpl_vars['categoryId']->value)).("/"), null, 0);?>

Stack Trace

#0
+
 /mnt/HC_Volume_23321257/focusextranet/public_html/protected/vendors/smarty/sysplugins/smarty_internal_templatebase.php(180): content_65f931be724315_16182820(Smarty_Internal_Template)
175                         }
176                         array_unshift($_template->_capture_stack,array());
177                         //
178                         // render compiled template
179                         //
180                         $_template->properties['unifunc']($_template);
181                         // any unclosed {capture} tags ?
182                         if (isset($_template->_capture_stack[0][0])) {
183                             $_template->capture_error();
184                         }
185                         array_shift($_template->_capture_stack);
#1
+
 /mnt/HC_Volume_23321257/focusextranet/public_html/protected/extensions/Smarty/ESmartyViewRenderer.php(37): Smarty_Internal_TemplateBase->fetch("/mnt/HC_Volume_23321257/focusextranet/public_html/catalogafaceri...")
32             $data = Yii::app()->controller->data;
33       
34       
35         foreach ($data as $key => $value)
36             $this->_smarty->assign($key, $value);
37         $return = $this->_smarty->fetch($file);
38         
39         if ($return)
40             return $return;
41         else
42             echo $return;
#4
+
 /mnt/HC_Volume_23321257/focusextranet/public_html/catalogafaceri.ro/public_html/protected/runtime/smarty/compile/8819c58ad539140dd75872c4f09f20b52a5ce8b8.file.index.html.php(156): CController->renderPartial("/partials/pagination", array("itemsTotal" => "8378", "extraParam" => "&type=business"))
151                                 <h3 class="srch-no-res text-center"><?php echo $_smarty_tpl->tpl_vars['noBusiness']->value;?>
152 </h3>
153                             <?php }else{ ?>
154                                 <?php echo Yii::app()->controller->renderPartial("/search/businessList",$_smarty_tpl->tpl_vars['businessParams']->value);?>
155 
156                                 <?php echo Yii::app()->controller->renderPartial("/partials/pagination",$_smarty_tpl->tpl_vars['businessPagParams']->value);?>
157 
158                             <?php }?>
159                         </div>
160                         <div id="test2" class="col s12">
161                             <?php if (isset($_smarty_tpl->tpl_vars['noOffer']->value)){?>
2024-03-19 08:33:34 Apache Yii Framework/1.1.10