Loading...
 
Skip to main content

Custom Share Module 0.1dev

Features / Usability

Features / Usability


TikiWiki 27.0 - Error when calling a search results page with highlight

posts: 1 United States
Christoph wrote:

Fatal error rendering template resource tiki-show_page.tpl
TypeError: preg_replace_callback(): Argument #2 ($callback) must be a valid callback, function "_enlightColor" not found or invalid function name in /www/htdocs/w00ec615/27x/lib/smarty_tiki/Filter/Output/Highlight.php:97
Stack trace:
...

Procedure:
Create a new page in TikiWiki "test" with content "test"
Search for test - the newly created page is listed as a result
Click on the search result to display this page with automatic highlight:
Fatal error rendering template resource tiki-show_page.tpl

Example in the current demo database:
https://27x.demo.tiki.org/tiki-index.php?page=test&highlight=test https://dinosaurgames.io

Successful display in version 26:
https://demo.tiki.org/26x/tiki-index.php?page=test&highlight=test

I am wondering if it is correct in all versions because with my version it shows an error.

There are no comments at this time.