Error

Call to a member function getUserlogo() on null

/home/httpd/vhosts/marketing-boerse.de/20240318-153510/protected/runtime/smarty/compiled/9302bab23396b5eb9c8544c8bd62a746c53b52fb.file.participant.tpl.php(90)

078 :</strong>
079             <table>
080                 <tr>
081                     <td>
082                         <?php if ($_smarty_tpl->tpl_vars['participant']->value->User->uUnit=='User'){?>
083                             <figure class="is-user-image-sublist" >
084                                 <img src="<?php echo $_smarty_tpl->tpl_vars['participant']->value->User->getUserimage(35);?>
085 " alt="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['participant']->value->User->fullName, ENT_QUOTES, 'UTF-8', true);?>
086 " />
087                             </figure>
088                         <?php }else{ ?>
089                             <figure class="is-logo-image-sublist" >
090                                 <img src="<?php echo $_smarty_tpl->tpl_vars['participant']->value->User->getUserlogo(75);?>
091 " alt="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['participant']->value->User->fullName, ENT_QUOTES, 'UTF-8', true);?>
092 " />
093                             </figure>
094                         <?php }?>
095                     </td>
096                     <td>
097                         <?php if (isset($_smarty_tpl->tpl_vars['participant']->value->User2->uID)){?>
098 
099                             <?php if ($_smarty_tpl->tpl_vars['participant']->value->User->uUnit=='User'){?>
100                                 <figure class="is-user-image-sublist" >
101                                     <img src="<?php echo $_smarty_tpl->tpl_vars['participant']->value->User2->getUserimage(35);?>
102 " alt="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['participant']->value->User2->fullName, ENT_QUOTES, 'UTF-8', true);?>

Stack Trace

#0
+
 /home/httpd/vhosts/marketing-boerse.de/20240318-153510/protected/vendors/Smarty/sysplugins/smarty_internal_templatebase.php(180): content_65f85bf5104364_91335893()
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
+
 /home/httpd/vhosts/marketing-boerse.de/20240318-153510/protected/vendors/Smarty/sysplugins/smarty_internal_template.php(286): Smarty_Internal_TemplateBase->fetch()
281             // set up variable values
282             foreach ($data as $_key => $_val) {
283                 $tpl->tpl_vars[$_key] = new Smarty_variable($_val);
284             }
285         }
286         return $tpl->fetch(null, null, null, null, false, false, true);
287     }
288 
289     /**
290      * Template code runtime function to set up an inline subtemplate
291      *
#2
+
 /home/httpd/vhosts/marketing-boerse.de/20240318-153510/protected/runtime/smarty/compiled/8c65fdbc4d4065bb130fac024624a557b45a3b71.file.participant.tpl.php(22): Smarty_Internal_Template->getSubTemplate()
17   ),
18   'has_nocache_code' => false,
19   'version' => 'Smarty-3.1.13',
20   'unifunc' => 'content_65f87bb4bacf54_28716526',
21 ),false); /*/%%SmartyHeaderCode%%*/?>
22 <?php if ($_valid && !is_callable('content_65f87bb4bacf54_28716526')) {function content_65f87bb4bacf54_28716526($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("../../../../egypt_base/views/award/default/participant.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
23 
24 <?php }} ?>
2024-03-29 13:06:43 nginx/1.18.0 Yii Framework/1.1.29