who=126
type=256
message=mysqlt error: [1064: 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 'AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wl' at line 1] in EXECUTE("SELECT COUNT(*) FROM task_data_1 AS r WHERE r.active=1 AND ((EXISTS (SELECT 1 FROM AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wlasnosc = NULL AND r.f_wlasnosc IS NOT NULL)) OR (r.created_by = 12) OR (r.f_customers = '126' AND r.f_customers IS NOT NULL)))) LIMIT 1")
error file=/home/test.pl/private_html/epesi/libs/adodb/adodb-errorhandler.inc.php
error line=77
error backtrace:
[PHP core called function]
function called: handle_epesi_error(256, "mysqlt error: [1064: 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 'AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wl' at line 1] in EXECUTE(\"SELECT COUNT() FROM task_data_1 AS r WHERE r.active=1 AND ((EXISTS (SELECT 1 FROM AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wlasnosc = NULL AND r.f_wlasnosc IS NOT NULL)) OR (r.created_by = 12) OR (r.f_customers = '126' AND r.f_customers IS NOT NULL)))) LIMIT 1\")
", "/home/test.pl/private_html/epesi/libs/adodb/adodb-errorhandler.inc.php", 77, Array ("mysqlt", "EXECUTE", 1064, "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 'AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wl' at line 1", "SELECT COUNT() FROM task_data_1 AS r WHERE r.active=1 AND ((EXISTS (SELECT 1 FROM AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wlasnosc = NULL AND r.f_wlasnosc IS NOT NULL)) OR (r.created_by = 12) OR (r.f_customers = '126' AND r.f_customers IS NOT NULL)))) LIMIT 1", false, Object (ADODB_mysqlt), "SELECT COUNT() FROM task_data_1 AS r WHERE r.active=1 AND ((EXISTS (SELECT 1 FROM AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wlasnosc = NULL AND r.f_wlasnosc IS NOT NULL)) OR (r.created_by = 12) OR (r.f_customers = '126' AND r.f_customers IS NOT NULL)))) LIMIT 1", false, "mysqlt error: [1064: 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 'AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wl' at line 1] in EXECUTE(\"SELECT COUNT() FROM task_data_1 AS r WHERE r.active=1 AND ((EXISTS (SELECT 1 FROM AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wlasnosc = NULL AND r.f_wlasnosc IS NOT NULL)) OR (r.created_by = 12) OR (r.f_customers = '126' AND r.f_customers IS NOT NULL)))) LIMIT 1\")
"))
File: /home/test.pl/private_html/epesi/libs/adodb/adodb-errorhandler.inc.php
line 77
function called: trigger_error("mysqlt error: [1064: 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 'AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wl' at line 1] in EXECUTE(\"SELECT COUNT(*) FROM task_data_1 AS r WHERE r.active=1 AND ((EXISTS (SELECT 1 FROM AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wlasnosc = NULL AND r.f_wlasnosc IS NOT NULL)) OR (r.created_by = 12) OR (r.f_customers = '126' AND r.f_customers IS NOT NULL)))) LIMIT 1\")
", 256)
File: /home/test.pl/private_html/epesi/libs/adodb/adodb.inc.php
line 1071
function called: ADODB_Error_Handler("mysqlt", "EXECUTE", 1064, "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 'AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wl' at line 1", "SELECT COUNT(*) FROM task_data_1 AS r WHERE r.active=1 AND ((EXISTS (SELECT 1 FROM AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wlasnosc = NULL AND r.f_wlasnosc IS NOT NULL)) OR (r.created_by = 12) OR (r.f_customers = '126' AND r.f_customers IS NOT NULL)))) LIMIT 1", false, "Object (ADODB_mysqlt)")
File: /home/test.pl/private_html/epesi/libs/adodb/adodb.inc.php
line 1027
function called: _Execute("SELECT COUNT(*) FROM task_data_1 AS r WHERE r.active=1 AND ((EXISTS (SELECT 1 FROM AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wlasnosc = NULL AND r.f_wlasnosc IS NOT NULL)) OR (r.created_by = 12) OR (r.f_customers = '126' AND r.f_customers IS NOT NULL)))) LIMIT 1")
File: /home/test.pl/private_html/epesi/libs/adodb/drivers/adodb-mysql.inc.php
line 591
function called: Execute("SELECT COUNT(*) FROM task_data_1 AS r WHERE r.active=1 AND ((EXISTS (SELECT 1 FROM AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wlasnosc = ? AND r.f_wlasnosc IS NOT NULL)) OR (r.created_by = ?) OR (r.f_customers = ? AND r.f_customers IS NOT NULL)))) LIMIT 1", Array (null, 12, "126", "19"))
File: /home/test.pl/private_html/epesi/libs/adodb/drivers/adodb-mysql.inc.php
line 256
function called: SelectLimit("SELECT COUNT(*) FROM task_data_1 AS r WHERE r.active=1 AND ((EXISTS (SELECT 1 FROM AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wlasnosc = ? AND r.f_wlasnosc IS NOT NULL)) OR (r.created_by = ?) OR (r.f_customers = ? AND r.f_customers IS NOT NULL))))", 1, -1, Array (null, 12, "126", "19"))
[PHP core called function]
function called: GetOne("SELECT COUNT(*) FROM task_data_1 AS r WHERE r.active=1 AND ((EXISTS (SELECT 1 FROM AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wlasnosc = ? AND r.f_wlasnosc IS NOT NULL)) OR (r.created_by = ?) OR (r.f_customers = ? AND r.f_customers IS NOT NULL))))", Array (null, 12, "126", "19"))
File: /home/test.pl/private_html/epesi/include/database.php
line 505
function called: call_user_func_array(Array (Object (ADODB_mysqlt), "GetOne"), Array ("SELECT COUNT(*) FROM task_data_1 AS r WHERE r.active=1 AND ((EXISTS (SELECT 1 FROM AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wlasnosc = ? AND r.f_wlasnosc IS NOT NULL)) OR (r.created_by = ?) OR (r.f_customers = ? AND r.f_customers IS NOT NULL))))", Array (#4)))
File: /home/test.pl/private_html/epesi/modules/Utils/RecordBrowser/RecordBrowserCommon_0.php
line 1247
function called: GetOne("SELECT COUNT(*) FROM task_data_1 AS r WHERE r.active=1 AND ((EXISTS (SELECT 1 FROM AND r.f_employees LIKE CONCAT('%__', r_contact_0.id, '__%'))) AND ((((r.f_wlasnosc = %s AND r.f_wlasnosc IS NOT NULL)) OR (r.created_by = %d) OR (r.f_customers = %s AND r.f_customers IS NOT NULL))))", Array (null, "12", "126", "19"))
File: /home/test.pl/private_html/epesi/modules/Utils/RecordBrowser/RecordBrowser_0.php
line 919
function called: get_records_count("task", Object (Utils_RecordBrowser_Crits), false, Array (Array (#3), Array (#3)))
File: /home/test.pl/private_html/epesi/modules/Utils/RecordBrowser/RecordBrowser_0.php
line 326
function called: show_data(Object (Utils_RecordBrowser_Crits), Array (), Array ("ASC", "ASC", "DESC", "ASC"))
[PHP core called function]
function called: body()
File: /home/test.pl/private_html/epesi/include/module.php
line 898
function called: call_user_func_array(Array (Object (Utils_RecordBrowser), "body"), Array ())
File: /home/test.pl/private_html/epesi/include/module.php
line 818
function called: get_html_of_module(Object (Utils_RecordBrowser), null, null)
File: /home/test.pl/private_html/epesi/modules/CRM/Tasks/Tasks_0.php
line 26
function called: display_module(Object (Utils_RecordBrowser))
[PHP core called function]
function called: body()
File: /home/test.pl/private_html/epesi/include/module.php
line 898
function called: call_user_func_array(Array (Object (CRM_Tasks), "body"), Array ())
File: /home/test.pl/private_html/epesi/include/module.php
line 818
function called: get_html_of_module(Object (CRM_Tasks), null, null)
File: /home/test.pl/private_html/epesi/modules/Base/Box/Box_0.php
line 142
function called: display_module(Object (CRM_Tasks))
File: /home/test.pl/private_html/epesi/include/epesi.php
line 246
function called: body()
File: /home/test.pl/private_html/epesi/include/epesi.php
line 291
function called: go(Object (Base_Box))