Answer the question
In order to leave comments, you need to log in
How to fix Using $this when not in object context?
An example from Bitrix
<h1><?=$APPLICATION->ShowTitle();?><?$APPLICATION->ShowViewContent('news_detail');?></h1>
<?$this->SetViewTarget('news_detail');?>
<noindex><a rel="nofollow" class="h1-head fancy" href="/develop/change_cover_type.php"><?=$arDataFilter["NAME"]?></a></noindex>
<?$this->EndViewTarget();?>
[Error]
Using $this when not in object context (0)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question