Severity: Notice
Message: Trying to get property of non-object
Filename: v2/pv_dt.php
Line Number: 147
Severity: Notice
Message: Trying to get property of non-object
Filename: v2/pv_dt.php
Line Number: 151
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/gplace/public_html/system/core/Exceptions.php:185)
Filename: core/Common.php
Line Number: 438
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUP BY t.gp_trp_id ORDER BY t.gp_trp_id DESC LIMIT 50' at line 10
SELECT t.gp_trp_id,t.lang_id,t.trip_name,t.tp_view,t.tp_date,t.tp_view,t.tp_img_cover ,p.p_id,page.p_pic,page.p_pic2,p.p_pic_trip,page.p_detail_h,page.choowap_ht_id ,TIMESTAMPDIFF(MINUTE,t.tp_date,NOW()) as difftime FROM gp_trip t JOIN (SELECT * FROM gp_trip_place ORDER BY number) p ON t.gp_trp_id = p.gp_trp_id JOIN gp_page page ON p.p_id = page.p_id WHERE t.lang_id = 2 AND page.lang_id = 2 AND page.pv_id = GROUP BY t.gp_trp_id ORDER BY t.gp_trp_id DESC LIMIT 50
Filename: /home/gplace/public_html/models/gp_v2_model.php
Line Number: 307