Loading...
 
Skip to main content

Customsearch searchonload stopped working on Tiki27.x when minifying javascript is enabled

Status
Open
Subject
Customsearch searchonload stopped working on Tiki27.x when minifying javascript is enabled
Version
27.x
Category
  • Bug
  • Regression
  • Easy for Newbie Dev
Feature
Wiki Plugin (extends basic syntax)
Resolution status
New
Submitted by
Bernard Sfez / Tiki Specialist
Volunteered to solve
Doddy Matabaro
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

On a Tiki27.x updated the customsearch plugin stopped to automatically load the page load results.
{CODE()}
{CUSTOMSEARCH(tpl="featuredFaq_customsearch.tpl" id="faqCustomSearch" recalllastsearch="0" searchonload="1" requireinput="0" customsearchjs="1")}
{CODE}

I can see an error in the DOM

Copy to clipboard
min_main_635f6700bf01c878afa54f2ab788dacc.js:108 Uncaught ReferenceError: jQuery is not defined at min_main_635f6700bf01c878afa54f2ab788dacc.js:108:98 min_main_abcaaa9d363b26f17986183396fe6829.js:43 Uncaught ReferenceError: jQuery is not defined at min_main_abcaaa9d363b26f17986183396fe6829.js:43:37 wikipage:499 Uncaught ReferenceError: $ is not defined at trackeritemtitle:499:1 wikipage:596 Uncaught ReferenceError: $ is not defined at wikipage:596:1 wikipage:1


In the Settings -> Performances admin panel
Minify JavaScript
Minify late JavaScript
Are enable.

If I disabled them both, the searchonload work again

On demo Tiki29 we can see an error feedback.

Image


Solution
Workaround
Importance
7
Easy to solve?
5
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8878
Reviewed by Wishlist Team On
23 Jan 26 14:01 UTC
Created
Saturday 06 December, 2025 07:52:00 UTC
by Bernard Sfez / Tiki Specialist
LastModif
Friday 23 January, 2026 13:59:47 UTC


Show PHP error messages