Call to a member function getName() on null
In file
[line: 116]
[APP_ROOT]/sys_data/site/templates_compiled/aa49ebac004402ad747a343aaee6b44605964227.file.index.tpl.php
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['models']->value->get(1)->hasPhone()) {?>
<a href="">
<i class="fa fa-phone"></i>
<?php echo nl2br($_smarty_tpl->tpl_vars['models']->value->get(1)->getPhone());?>
</a>
<?php }?>
<h3>
<?php echo $_smarty_tpl->tpl_vars['models']->value->get(2)->getName();?>
</h3>
<?php if ($_smarty_tpl->tpl_vars['models']->value->get(2)->hasEmail()) {?>
<a href="mailto:<?php echo $_smarty_tpl->tpl_vars['models']->value->get(2)->getEmail();?>
">
<i class="fa fa-envelope"></i>
<?php echo $_smarty_tpl->tpl_vars['models']->value->get(2)->getEmail();?>
</a>
<?php }?>