?
Referenced as Pull Request for: # 28379
avatar infograf768
infograf768
17 Mar 2020

Steps to reproduce the issue

Publish a mod_tags_popular in frontend
Since the merge of 3.10-dev into 4.0 we have an error which breaks frontend display

Notice: Array to string conversion in .../modules/mod_tags_popular/src/Helper/TagsPopularHelper.php on line 100
Error: Unknown column 'Array' in 'where clause': Unknown column 'Array' in 'where clause'

Code merged was

-			->whereIn($db->quoteName('c.core_access'), $groups)
+			->where('(' . $db->quoteName('c.core_access') . ' IN (' . $groups . ') OR ' . $db->quoteName('c.core_access') . ' = 0)')

@wilsonge

avatar infograf768 infograf768 - open - 17 Mar 2020
avatar joomla-cms-bot joomla-cms-bot - change - 17 Mar 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Mar 2020
avatar joomla-cms-bot
joomla-cms-bot - comment - 17 Mar 2020

Set to "closed" on behalf of @SharkyKZ by The JTracker Application at issues.joomla.org/joomla-cms/28378

avatar SharkyKZ SharkyKZ - change - 17 Mar 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-03-17 08:44:18
Closed_By SharkyKZ
avatar joomla-cms-bot joomla-cms-bot - change - 17 Mar 2020
Closed_By SharkyKZ joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 17 Mar 2020
avatar SharkyKZ
SharkyKZ - comment - 17 Mar 2020

Please test PR #28379.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28378.

Add a Comment

Login with GitHub to post a comment