WordPress database error: [Unknown column 'ac.txt_activity' in 'SELECT']SELECT ac.an_activity, ac.txt_activity FROM tbl_activity AS ac ORDER BY ac.txt_activity
Notice: Function wpdb::prepare was called incorrectly. The query does not contain the correct number of placeholders (2) for the number of arguments passed (0). Please see Debugging in WordPress for more information. (This message was added in version 4.8.3.) in /home/u401582245/domains/doctranet.co.uk/public_html/wp-includes/functions.php on line 6170
WordPress database error: [Unknown column 'ac.txt_activity' in 'SELECT']SELECT p.an_portfolio, p.int_staff, p.dat_event, p.txt_portfolio, p.dat_reflection, DATE_FORMAT(p.dat_event,'%d/%m/%Y') AS dat_event, DATE_FORMAT(p.dat_reflection,'%d/%m/%Y') AS dat_reflection, p.lng_time, p.lng_credit,tl.an_title, tl.txt_title, s.an_staff, s.int_wp_id, CONCAT(tl.txt_title, ' ' ,s.txt_forename, ' ',s.txt_surname) AS txt_staff, v.an_venue, v.txt_venue, ml.an_meeting_length, ml.txt_meeting_length, ac.an_activity, ac.txt_activity FROM tbl_portfolio AS p INNER JOIN tbl_staff AS s ON p.int_staff = s.an_staff INNER JOIN tbl_venue AS v ON p.int_venue = v.an_venue INNER JOIN tbl_meeting_length AS ml ON p.int_meeting_length = ml.an_meeting_length INNER JOIN tbl_activity AS ac ON p.int_activity = ac.an_activity INNER JOIN tbl_title AS tl ON s.int_title = tl.an_title WHERE s.int_wp_id=0 AND YEAR(dat_event)=2026 ORDER BY p.dat_event
Warning: Undefined array key 0 in /home/u401582245/domains/doctranet.co.uk/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code on line 135
Warning: Attempt to read property "txt_staff" on null in /home/u401582245/domains/doctranet.co.uk/public_html/wp-content/plugins/code-snippets/php/snippet-ops.php(663) : eval()'d code on line 135
[bws_pdfprint display=’pdf’]