Errore Generale
SQL ERROR [ mysqli ]
Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'my_makemoneyforum.w.counter_user' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by [1055]
SQL
SELECT w.user_id, w.topic_id, w.counter_user, w.date, u.username, u.user_colour, u.user_id, u.user_avatar, u.user_avatar_type, u.user_avatar_height, u.user_avatar_width, u.user_type, SUM(w.counter_user) AS total FROM avphpbb_whovisitedthistopic w, avphpbb_users u WHERE w.topic_id = 31 AND w.user_id = u.user_id GROUP BY w.user_id ORDER BY w.date DESC LIMIT 255
BACKTRACE
FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 1023
CALL: trigger_error()
FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 195
CALL: phpbb\db\driver\driver->sql_error()
FILE: [ROOT]/phpbb/db/driver/mysql_base.php
LINE: 45
CALL: phpbb\db\driver\mysqli->sql_query()
FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 296
CALL: phpbb\db\driver\mysql_base->_sql_query_limit()
FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 337
CALL: phpbb\db\driver\driver->sql_query_limit()
FILE: [ROOT]/ext/dmzx/whovisitedthistopic/event/listener.php
LINE: 189
CALL: phpbb\db\driver\factory->sql_query_limit()
FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 214
CALL: dmzx\whovisitedthistopic\event\listener->viewtopic_get_post_data()
FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 44
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()
FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 62
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 46
CALL: phpbb\event\dispatcher->dispatch()
FILE: [ROOT]/viewtopic.php
LINE: 1321
CALL: phpbb\event\dispatcher->trigger_event()
questo è l'errore che mi appare ogni volta che tento di accedere ad un topic del mio forum dopo aver aggiornato il database a MySQL 8.0. Dovrei modificare la voce sql_mode nelle variabili ma non è possibile, mi spiegate come risolvere?