A Database Error Occurred

Error Number: 1054

Unknown column 'dashboard' in 'where clause'

select * from tbl_events a left join tbl_client b on b.cl_id=a.ev_client left join tbl_photo c on (c.pic_album=a.ev_id and c.pic_default=1) where a.ev_tipe like'%%' and ev_status_event like '%%' and ev_id=dashboard-myprofile.html order by ev_date_sort desc limit 1

Filename: /var/www/connectar_web/public_html/modules/event/controllers/event.php

Line Number: 414