Error

Call to a member function getIsPaid() on null

/home/httpd/vhosts/marketing-boerse.de/20240318-153510/protected/runtime/smarty/compiled/fbd35f1abca91fcd516c1f0fb5f2c0028e54b01f.file.details.tpl.php(173)

161         <!-- news on -->
162         <?php if (!empty($_smarty_tpl->tpl_vars['content']->value["indexcontent"])){?>
163             <?php echo $_smarty_tpl->getSubTemplate ("../../../../".((string)$_smarty_tpl->tpl_vars['YiiTheme']->value->name)."/views/article/default/_news_on.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
164 
165         <?php }?>
166 
167         <!-- deep dive -->
168         <?php if (!empty($_smarty_tpl->tpl_vars['content']->value["deepdive"])){?>
169             <?php echo $_smarty_tpl->getSubTemplate ("../../../../".((string)$_smarty_tpl->tpl_vars['YiiTheme']->value->name)."/views/article/default/_deep_dive.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
170 
171         <?php }?>
172 
173         <?php if (!$_smarty_tpl->tpl_vars['model']->value->cUser->getIsPaid()){?>
174             <?php echo smarty_function_widget(array('name'=>"UserBoxWidget",'type'=>"company",'param'=>"categorytopuser",'template'=>"categorybox_more",'text'=>''),$_smarty_tpl);?>
175 
176         <?php }?>
177         
178         <div class="clear" > </div>
179          <?php echo $_smarty_tpl->getSubTemplate ("../../../../".((string)$_smarty_tpl->tpl_vars['YiiTheme']->value->name)."/views/elements/social.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
180 
181         <div class="clear" > </div>
182         
183         <div class="clear" > </div>
184        
185     </footer>

Stack Trace

#0
+
 /home/httpd/vhosts/marketing-boerse.de/20240318-153510/protected/vendors/Smarty/sysplugins/smarty_internal_templatebase.php(180): content_65f8515074cae5_47889662()
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/26c19f5169a587ad273fb8f2a9eadb9efd3811ff.file.details.tpl.php(22): Smarty_Internal_Template->getSubTemplate()
17   ),
18   'has_nocache_code' => false,
19   'version' => 'Smarty-3.1.13',
20   'unifunc' => 'content_65f85150715ee0_83630710',
21 ),false); /*/%%SmartyHeaderCode%%*/?>
22 <?php if ($_valid && !is_callable('content_65f85150715ee0_83630710')) {function content_65f85150715ee0_83630710($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("../../../../egypt_base/views/article/fachartikel/details.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
23 
24 <?php }} ?>
2024-03-28 15:53:50 nginx/1.18.0 Yii Framework/1.1.29