Error

Call to a member function getIsPaid() on null

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

122         <?php if (!empty($_smarty_tpl->tpl_vars['content']->value["indexcontent"])){?>
123             <?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);?>
124 
125         <?php }?>
126 
127         <!-- deep dive -->
128         <?php if (!empty($_smarty_tpl->tpl_vars['content']->value["deepdive"])){?>
129             <?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);?>
130 
131         <?php }?>
132 
133 
134         <?php if (!$_smarty_tpl->tpl_vars['model']->value->cUser->getIsPaid()){?>
135             <?php echo smarty_function_widget(array('name'=>"UserBoxWidget",'type'=>"company",'param'=>"categorytopuser",'template'=>"categorybox_more",'text'=>''),$_smarty_tpl);?>
136 
137         <?php }?>
138 
139         
140 
141         <?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);?>
142 
143                 
144     </footer>
145 </article>
146 <?php }} ?>

Stack Trace

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