Hide
Type: E_USER_ERROR (256)
Message: Argument 1 is not number(%d):
SELECT r.* FROM task_data_1 AS r WHERE r.active=1 AND (((false OR (r.f_employees LIKE %s AND r.f_employees IS NOT NULL)) OR (false OR (r.f_customers = %d AND r.f_customers IS NOT NULL))) AND ((r.f_deadline <= %T OR r.f_deadline IS NULL)) AND ((r.f_deadline >= %T AND r.f_deadline IS NOT NULL)))
Array ( [0] => %__1__% [1] => P:1 [2] => 1456959600 [3] => 1454367600 )
File: /home/test/domains/test.pl/private_html/epesi/include/database.php
Line=155
error backtrace:
[PHP core called function]
function called: handle_epesi_error(256, "Argument 1 is not number(%d):
SELECT r. FROM task_data_1 AS r WHERE r.active=1 AND (((false OR (r.f_employees LIKE %s AND r.f_employees IS NOT NULL)) OR (false OR (r.f_customers = %d AND r.f_customers IS NOT NULL))) AND ((r.f_deadline <= %T OR r.f_deadline IS NULL)) AND ((r.f_deadline >= %T AND r.f_deadline IS NOT NULL)))
Array ( [0] => %__1__% [1] => P:1 [2] => 1456959600 [3] => 1454367600 )
", "/home/test/domains/test.pl/private_html/epesi/include/database.php", 155, Array ("SELECT r. FROM task_data_1 AS r WHERE r.active=1 AND (((false OR (r.f_employees LIKE %s AND r.f_employees IS NOT NULL)) OR (false OR (r.f_customers = %d AND r.f_customers IS NOT NULL))) AND ((r.f_deadline <= %T OR r.f_deadline IS NULL)) AND ((r.f_deadline >= %T AND r.f_deadline IS NOT NULL)))", Array (#4), Array (#9), "SELECT r.* FROM task_data_1 AS r WHERE r.active=1 AND (((false OR (r.f_employees LIKE ? AND r.f_employees IS NOT NULL)) OR (false OR (r.f_customers = ", 1, 4, "%d"))
File: /home/test/domains/test.pl/private_html/epesi/include/database.php
line 155
function called: trigger_error("Argument 1 is not number(%d):
SELECT r.* FROM task_data_1 AS r WHERE r.active=1 AND (((false OR (r.f_employees LIKE %s AND r.f_employees IS NOT NULL)) OR (false OR (r.f_customers = %d AND r.f_customers IS NOT NULL))) AND ((r.f_deadline <= %T OR r.f_deadline IS NULL)) AND ((r.f_deadline >= %T AND r.f_deadline IS NOT NULL)))
Array ( [0] => %__1__% [1] => P:1 [2] => 1456959600 [3] => 1454367600 )
", 256)
File: /home/test/domains/test.pl/private_html/epesi/include/database.php
line 454
function called: TypeControl("SELECT r.* FROM task_data_1 AS r WHERE r.active=1 AND (((false OR (r.f_employees LIKE %s AND r.f_employees IS NOT NULL)) OR (false OR (r.f_customers = %d AND r.f_customers IS NOT NULL))) AND ((r.f_deadline <= %T OR r.f_deadline IS NULL)) AND ((r.f_deadline >= %T AND r.f_deadline IS NOT NULL)))", "Array (#4)")
File: /home/test/domains/test.pl/private_html/epesi/modules/Utils/RecordBrowser/RecordBrowserCommon_0.php
line 1298
function called: SelectLimit("SELECT r.* FROM task_data_1 AS r WHERE r.active=1 AND (((false OR (r.f_employees LIKE %s AND r.f_employees IS NOT NULL)) OR (false OR (r.f_customers = %d AND r.f_customers IS NOT NULL))) AND ((r.f_deadline <= %T OR r.f_deadline IS NULL)) AND ((r.f_deadline >= %T AND r.f_deadline IS NOT NULL)))", 100, 0, Array ("%__1__%", "P:1", 1456959600, 1454367600))
File: /home/test/domains/test.pl/private_html/epesi/modules/CRM/Tasks/TasksCommon_0.php
line 388
function called: get_records("task", Array (Array (#1), Array (#1), "2016-03-03", "2016-02-02"), Array (), Array (), 100)
[PHP core called function]
function called: crm_event_get_all("2016-02-02", "2016-03-03", "(1)")
File: /home/test/domains/test.pl/private_html/epesi/modules/CRM/Tasks/TasksCommon_0.php
line 317
function called: call_user_func_array(Array ("CRM_TasksCommon", "crm_event_get_all"), Array ("2016-02-02", "2016-03-03", "(1)"))
[PHP core called function]
function called: crm_calendar_handler("get_all", "2016-02-02", "2016-03-03", "(1)")
File: /home/test/domains/test.pl/private_html/epesi/modules/CRM/Calendar/Calendar_0.php
line 184
function called: call_user_func(Array ("CRM_TasksCommon", "crm_calendar_handler"), "get_all", "2016-02-02", "2016-03-03", "(1)")
[PHP core called function]
function called: applet(Array ("30", "0", "0", "1", "0"), Array ("Terminarz", true, null, true, "body", Array (#0), Array (#0), Array (#0), "341"), "341")
File: /home/test/domains/test.pl/private_html/epesi/include/module.php
line 898
function called: call_user_func_array(Array (Object (CRM_Calendar), "applet"), Array (Array (#5), "Array (\"Terminarz\", true, null, true, \"body\", Array (#0), Array (#0), Array (#0), \"341\")", "341"))
File: /home/test/domains/test.pl/private_html/epesi/modules/Base/Dashboard/Dashboard_0.php
line 194
function called: get_html_of_module(Object (CRM_Calendar), Array (Array (#5), "\"Array (\"Terminarz\", true, null, true, \"body\", Array (#0), Array (#0), Array (#0), \"341\")\"", "341"), "applet")
File: /home/test/domains/test.pl/private_html/epesi/modules/Base/Dashboard/Dashboard_0.php
line 128
function called: display_dashboard("1")
File: /home/test/domains/test.pl/private_html/epesi/modules/Base/Dashboard/Dashboard_0.php
line 29
function called: dashboard()
[PHP core called function]
function called: body()
File: /home/test/domains/test.pl/private_html/epesi/include/module.php
line 898
function called: call_user_func_array(Array (Object (Base_Dashboard), "body"), Array ())
File: /home/test/domains/test.pl/private_html/epesi/include/module.php
line 818
function called: get_html_of_module(Object (Base_Dashboard), null, "body")
File: /home/test/domains/test.pl/private_html/epesi/include/module.php
line 117
function called: display_module(Object (Base_Dashboard), null, "body")
File: /home/test/domains/test.pl/private_html/epesi/modules/Base/HomePage/HomePage_0.php
line 24
function called: pack_module("Base/Dashboard", null, "body", null)
File: /home/test/domains/test.pl/private_html/epesi/modules/Base/HomePage/HomePage_0.php
line 17
function called: show_home_page(Array ("Base/Dashboard"))
[PHP core called function]
function called: body()
File: /home/test/domains/test.pl/private_html/epesi/include/module.php
line 898
function called: call_user_func_array(Array (Object (Base_HomePage), "body"), Array ())
File: /home/test/domains/test.pl/private_html/epesi/include/module.php
line 818
function called: get_html_of_module(Object (Base_HomePage), null, null)
File: /home/test/domains/test.pl/private_html/epesi/modules/Base/Box/Box_0.php
line 142
function called: display_module(Object (Base_HomePage))
File: /home/test/domains/test.pl/private_html/epesi/include/epesi.php
line 246
function called: body()
File: /home/test/domains/test.pl/private_html/epesi/include/epesi.php
line 291
function called: go(Object (Base_Box))
File: /home/test/domains/test.pl/private_html/epesi/process.php
line 41
function called: process("force_epesi=1", "0")