A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: v2/pv_dt.php

Line Number: 104

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: v2/pv_dt.php

Line Number: 108

A PHP Error was encountered

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

Database Error

A Database Error Occurred

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 10' at line 9

SELECT t.gp_trp_id, t.lang_id, t.trip_name, t.tp_view, t.tp_date, t.tp_view, p.p_id, page.p_pic, 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 10

Filename: /home/gplace/public_html/models/gp_v2_model.php

Line Number: 275