17 vues
Erreur events visiteurs no events
Blober

32 sujets, 248 réponses

Staff
Message non lu
Bonjour,

Je souhaiterai reporté un bug similaire a celui-ci : https://neofr.ag/forum/topic/1483/ligne-derreur…

Mais dans le module événements.

Warning: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') OR p.user_id IS NULL) AND e.published = ? GROUP BY e.event_id ORDER BY date DE' at line 1 [SELECT e.event_id, e.title, e.type_id, t.title as type_title, t.type, t.color, t.icon, e.date, e.date_end, e.description, e.private_description, e.location, e.image_id, e.published, u.user_id, u.username, COUNT(mr.round_id) as nb_rounds, m.webtv, m.website FROM nf_events e LEFT JOIN nf_events_types t ON e.type_id = t.type_id LEFT JOIN nf_events_participants p ON e.event_id = p.event_id LEFT JOIN nf_users u ON u.user_id = e.user_id LEFT JOIN nf_events_matches m ON e.event_id = m.event_id LEFT JOIN nf_events_matches_rounds mr ON e.event_id = mr.event_id WHERE (t.type_id IN () OR p.user_id IS NULL) AND e.published = ? GROUP BY e.event_id ORDER BY date DESC] ["s",1] in ./modules/events/models/events.php on line 99 in /home/guilde-pf/www/neofrag/core/db.php on line 99

Je sais que ce bug a déjà été report pour le forum mais je ne sais pas si il l'a deja été pour les evenements (affichage "tous").

Un deuxième petit bug (affichage "Standart") qui doit être du au même problème :

Notice: Undefined offset: 5 in /home/guilde-pf/www/modules/events/controllers/index.php on line 31

Notice: Undefined offset: 5 in /home/guilde-pf/www/modules/events/controllers/index.php on line 41

End User Support

rules make masters and masters make rules


https://discord.gg/btbAZU6 - Rejoignez nous sur le Discord de NeoFrag!