Witam,
po wejściu na telefon (Phonecalls) i próbie wydruku (button drukuj) wyskakuje mi błąd
Type: E_USER_ERROR (256)
Message: Argument 0 is not number(%d):
SELECT f_access FROM contact_data_1 WHERE id=%d
Array ( [0] => manager )
File: /include/database.php
Line=155
error backtrace:
[PHP core called function]
function called: handle_epesi_error(256, "Argument 0 is not number(%d):
SELECT f_access FROM contact_data_1 WHERE id=%d
Array ( [0] => manager )
", "/include/database.php", 155, Array ("SELECT f_access FROM contact_data_1 WHERE id=%d", Array (#1), Array (#3), "SELECT f_access FROM contact_data_1 WHERE id=", 0, 1, "%d"))
File: /include/database.php
line 155
function called: trigger_error("Argument 0 is not number(%d):
SELECT f_access FROM contact_data_1 WHERE id=%d
Array ( [0] => manager )
", 256)
File: /include/database.php
line 504
function called: TypeControl("SELECT f_access FROM contact_data_1 WHERE id=%d", "Array (#1)")
File: /modules/Utils/RecordBrowser/RecordBrowserCommon_0.php
line 332
function called: GetOne("SELECT f_access FROM contact_data_1 WHERE id=%d", Array ("manager"))
File: /modules/Utils/RecordBrowser/CritsValidator.php
line 61
function called: get_value("contact", "manager", "access")
File: /modules/Utils/RecordBrowser/CritsValidator.php
line 28
function called: validate_single(Object (Utils_RecordBrowser_CritsSingle), Object (RBO_Record))
File: /modules/Utils/RecordBrowser/CritsValidator.php
line 140
function called: validate(Object (Utils_RecordBrowser_CritsSingle), Object (RBO_Record))
File: /modules/Utils/RecordBrowser/CritsValidator.php
line 30
function called: validate_compound(Object (Utils_RecordBrowser_Crits), Object (RBO_Record))
File: /modules/Utils/RecordBrowser/CritsValidator.php
line 140
function called: validate(Object (Utils_RecordBrowser_Crits), Object (RBO_Record))
File: /modules/Utils/RecordBrowser/CritsValidator.php
line 30
function called: validate_compound(Object (Utils_RecordBrowser_Crits), Object (RBO_Record))
File: /modules/Utils/RecordBrowser/RecordBrowserCommon_0.php
line 1338
function called: validate(Object (Utils_RecordBrowser_Crits), Object (RBO_Record))
File: /modules/Utils/RecordBrowser/RecordBrowserCommon_0.php
line 1577
function called: check_record_against_crits("phonecall", Object (RBO_Record), Object (Utils_RecordBrowser_Crits))
File: /modules/Utils/RecordBrowser/RecordPrinter.php
line 78
function called: get_access("phonecall", "view", Object (RBO_Record))
File: /modules/Utils/RecordBrowser/RecordPrinter.php
line 51
function called: format_values("phonecall", "8979")
File: /modules/Base/Print/Printer.php
line 194
function called: print_document(Array ("phonecall", "8979"))
File: /modules/Base/Print/PrintingHandler.php
line 46
function called: get_printed_document(Array ("phonecall", "8979"))
File: /modules/Base/Print/PrintingHandler.php
line 29
function called: printed_document()
File: /modules/Base/Print/PrintingHandler.php
line 20
function called: output_document()
File: /modules/Base/Print/Handle.php
line 14
function called: handle_request()
File: /modules/Base/Print/Handle.php
line 71
function called: handle_request()
Jak to naprawić ?