Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Textpattern Notice: error_article_context
On my development site (set to Testing) I continually land these errors:
<code>
tag_error <txp:comments/> -> Textpattern Notice: error_article_context on line 1581
tag_error <txp:comment_permlink> -> Textpattern Notice: error_article_context on line 1581
tag_error <txp:comment_permlink> -> Textpattern Notice: error_article_context on line 1581
tag_error <txp:comments_form/> -> Textpattern Notice: error_article_context on line 1581
</code>
Anyone know what’s causing these, or where could I disable these ‘notices’?
Last edited by jamiew (2006-05-30 07:32:48)
Offline
Re: Textpattern Notice: error_article_context
(set to Testing)
That’s why it is showing you notices, to inform you that you are doing something wrong. If you set it to live, it will be quiet about it.
The message means that you are using those tags in a place where they cannot/should not be used. Those tags can only be used if it is clear which article they “belong to” (i.e. to be techincal: if $thisarticle
has been set). The easiest way to achieve that is to call them from article-forms (or after an article-tag in a page works, too).
Offline
Re: Textpattern Notice: error_article_context
Presto! Had my comment tags on a page, and moving them to an article form shut them up. Perhaps this should go in the FAQ? Googling the error turned up nothing
Last edited by jamiew (2006-05-30 16:11:00)
Offline