Hi. Last week we added a list to our website based on the field 'my team'. In that field there is a integer or multiple like '101 102', so this user is in team 102. And everyone who is in the same team of the user that views the list is shown in the list.
But when you are not in a team, we get a error. How can we hide the error or display the message: you are not in a team yet? Or maybe it is possible to hide the menu when someone is not in a team?
The message:
Code:
Warning: Invalid argument supplied for foreach() in /srv/www/vhosts/M6P/de4emusketier.nl/docroot/administrator/components/com_comprofiler/library/cb/cb.lists.php on line 347
Er bevindt zich een fout in de database query. Administratoren kunnen debugging inschakelen om te zien wat er misloopt om het probleem dan te kunnen oplossen.
The filter:
Code:
`cb_teams` REGEXP REPLACE( '[cb_teams]', ' ', '|' )