By Guest on Friday, 09 January 2026
Replies 1
Likes 0
Views 320
Votes 0
Hi,

Thanks for fixing HTML Filtering that was causing us trouble ...

I've found another J6 recommandation for Database about "castAsChar"
check : grep -RInF "castAsChar("

Please check file :
./components/com_jevents/helpers/category.php:73: $c_id = $query->castAsChar('c.id');

Example fix :
Replace :
$a_id = $query->castAsChar('a.id');
by
$a_id = $query->castAs('CHAR', 'a.id');

(Joomla\Database\Mysqli\MysqliQuery::castAsChar())
MySQLi, method doesn’t exist in Joomla 6,

Best regards,
Gil
Thanks for highlighting this issue - I thought we'd picked up all uses of castAsChar, looks like we missed one

Fixed in the next release
·
Friday, 16 January 2026 14:04
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post