PHP notice

Trying to get property of non-object

/home/alcodefi/www/protected/vendor/Smarty/sysplugins/smarty_internal_templatebase.php(151) : eval()'d code(31)

Stack Trace

#0
+
 /home/alcodefi/www/protected/vendor/Smarty/sysplugins/smarty_internal_templatebase.php(182): content_660582b98683b0_03562677(Smarty_Internal_Template)
177                         }
178                         array_unshift($_template->_capture_stack,array());
179                         //
180                         // render compiled template
181                         //
182                         $_template->properties['unifunc']($_template);
183                         // any unclosed {capture} tags ?
184                         if (isset($_template->_capture_stack[0][0])) {
185                             $_template->capture_error();
186                         }
187                         array_shift($_template->_capture_stack);
#1
+
 /home/alcodefi/www/protected/extensions/yiiext/renderers/smarty/ESmartyViewRenderer.php(273): Smarty_Internal_TemplateBase->fetch()
268         /** @var Smarty_Internal_Template $template */
269         $template = $this->getSmarty()->createTemplate($sourceFile, null, null, $data, true);
270 
271         // render or return
272         if($return)
273             return $template->fetch();
274         else
275             $template->display();
276     }
277 
278     /**
#4
+
 /home/alcodefi/www/protected/modules/website/controllers/ProductController.php(163): CController->renderPartial("_setInfoModal", array("model" => ContactForm, "formation" => null), false, false)
158                 }
159             }
160             $this->renderPartial('_setInfoModal', array(
161                 'model'=>$model,
162                 'formation'=>$formation,
163             ),false , false);
164         }
165         return false;
166     }
167 
168 
2024-03-28 15:46:17 Apache Yii Framework/1.1.14