Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2016-04-06 19:09:35

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Undefined variable: searchsticky

Here is the error notice displayed on my local 4.6 install when I’m on a search results page.
I know that it comes from the following code in the footer but I don’t understand why:

<txp:article_custom wraptag="ul" class="infos">
    <txp:if_different>
        <li><txp:posted format="%Y" /></li>
    </txp:if_different>
</txp:article_custom>

Last edited by NicolasGraph (2016-04-06 19:45:39)


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#2 2016-04-06 20:56:22

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: Undefined variable: searchsticky

I gave it a try on a fresh install and I get the same error when I use <txp:article_custom id="1" />; it seems to be a bug

Tag error: <txp:article_custom id="1" /> ->  Notice: Undefined variable: searchsticky while parsing form None on page default

textpattern/publish.php:1103 doArticles()
textpattern/publish.php:1092 parseArticles()
article_custom()
textpattern/vendors/Textpattern/Tag/Registry.php:83 call_user_func()
textpattern/lib/txplib_publish.php:512 Textpattern\Tag\Registry->process()
textpattern/lib/txplib_publish.php:461 processTags()
textpattern/lib/txplib_misc.php:4391 parse()
textpattern/publish.php:559 parse_page()
index.php:105 textpattern()

Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

#3 2016-04-07 04:37:21

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: Undefined variable: searchsticky

Offline

#4 2016-04-07 06:08:42

NicolasGraph
Plugin Author
From: France
Registered: 2008-07-24
Posts: 860
Website

Re: Undefined variable: searchsticky

wet wrote #298537:

Fixed.

Nice, thanks!


Nicolas
Follow me on Twitter and GitHub!
Multiple edits are usually to correct my frenglish…

Offline

Board footer

Powered by FluxBB