jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.x - (This is the current version!) => Bugs! => Topic started by: musicasampler on 13.04.2026 02:34:27

Title: Critical Error 0 on short search queries (e.g. "U2") in v4.1.2
Post by: musicasampler on 13.04.2026 02:34:27
I am experiencing a "Error 0" when searching for short terms (2 characters) like "U2" using the jDownloads search function. Instead of showing "No results" or a length warning, the system triggers a fatal error.Steps to reproduce:Go to the jDownloads search page: index.php?option=com_jdownloads&view=searchEnter a 2-character keyword (e.g., "U2").Click "Search".The page returns a "Error 0".Expected behavior:The component should handle short strings gracefully without crashing, or provide a validation message if the database limit (ft_min_word_len) is not met.Additional Context:The issue occurs specifically when using the jDownloads search view. It seems to be a failure in handling empty results or SQL minimum length requirements within the component's search controller.Request:Is there a specific configuration or a code fix to prevent this Error 0 in the current stable version?

Title: Re: Critical Error 0 on short search queries (e.g. "U2") in v4.1.2
Post by: Arno on 14.04.2026 12:14:34
Thanks for reporting the bug. It's been fixed in 4.1.3. The limit has also been reduced from 3 characters to 2.
I'll send you a pre-release version via PM for you to test.
Title: Re: Critical Error 0 on short search queries (e.g. "U2") in v4.1.2
Post by: musicasampler on 14.04.2026 21:18:54
It seems perfect to me if you send me that version via private message so I can test it on the test site.
Title: Re: Critical Error 0 on short search queries (e.g. "U2") in v4.1.2
Post by: musicasampler on 15.04.2026 01:33:47
I have just installed the v4.1.3 Stable on my production site (musicasampler.com) and it works perfectly! The "Critical Error 0" is completely gone. Now searching for short terms like "U2" or names with numbers like "La 33" works flawlessly and shows all the results without any issues.

Thank you very much for the quick fix!

Best regards,
MUSICASAMPLER