Error on line 385 in /var/www/kp.ua/dev/lib/classes/mysql.class.php:
http://kp.ua/preview (26.11.2024 19:24)
MySQL Error:
Empty variable: a

Backtrace:

file: 282 - /var/www/kp.ua/dev/lib/globals.php
call: backtrace()

file: 373 - /var/www/kp.ua/dev/lib/classes/mysql.class.php
call: sunsite("backtrace")

file: 412 - /var/www/kp.ua/dev/lib/classes/mysql.class.php
call: SunMySql->halt("Empty variable: a")

file: -
call: SunMySql->process_item(Array ( [0] => {a|i} [1] => [2] => a [3] => i ) )

file: 419 - /var/www/kp.ua/dev/lib/classes/mysql.class.php
call: preg_replace_callback("/\{([A-Za-z0-9\_\-]+)\}|\{([A-Za-z0-9\_\-]+)\|([a-z]{1})\}/Ui", Array ( [0] => SunMySql Object ( [Host] => [Database] => [User] => [Password] => [Auto_Free] => 0 [debugTemplate] => [Halt_On_Error] => yes [Seq_Table:SunMySql:private] => db_sequence [query_data:SunMySql:private] => Array ( [a] => [l] => 1 ) [next_id_props] => Array ( [shift] => 0 [count] => 1 ) [Record] => [Records] => [Row] => 3 [Errno] => 0 [Error] => [type] => mysql [revision] => sunsite.5 [Link_ID] => mysqli Object ( [affected_rows] => 0 [client_info] => mysqlnd 8.2.10 [client_version] => 80210 [connect_errno] => 0 [connect_error] => [errno] => 0 [error] => [error_list] => Array ( ) [field_count] => 0 [host_info] => 127.0.0.1 via TCP/IP [info] => [insert_id] => 0 [server_info] => 11.1.2-MariaDB [server_version] => 110102 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 109187953 [warning_count] => 0 ) [Query_ID] => mysqli_result Object ( [current_field] => 0 [field_count] => 1 [lengths] => [num_rows] => 1 [type] => 0 ) [replacechr] => ? [sql_log] => Array ( ) [queryTime:SunMySql:private] => 0 [setupSQL] => ) [1] => process_item ) , "SELECT * FROM articles WHERE absnum = {a|i} AND langid = {l|i}")

file: 193 - /var/www/kp.ua/dev/lib/classes/mysql.class.php
call: SunMySql->prepareQuery("SELECT * FROM articles WHERE absnum = {a|i} AND langid = {l|i}", Array ( [a] => [l] => 1 ) )

file: 168 - /var/www/kp.ua/dev/lib/classes/mysql.class.php
call: SunMySql->execQuery("SELECT * FROM articles WHERE absnum = {a|i} AND langid = {l|i}", Array ( [a] => [l] => 1 ) , False)

file: 32 - /var/www/kp.ua/modules.dev/kp/pages/5005.startup.php
call: SunMySql->qrow("SELECT * FROM articles WHERE absnum = {a|i} AND langid = {l|i}", Array ( [a] => [l] => 1 ) )

file: 184 - /var/www/kp.ua/dev/pages/core/init.startup.php
call: include("/var/www/kp.ua/modules.dev/kp/pages/5005.startup.php")

file: 30 - /var/www/kp.ua/sunsite/index.php
call: include("/var/www/kp.ua/dev/pages/core/init.startup.php")

Array
(
    [0] => Array
        (
            [function] => getStaticException
            [args] => Array
                (
                    [0] => Exception Object
                        (
                            [message:protected] => http://kp.ua/preview (26.11.2024 19:24)
MySQL Error:
Empty variable: a

Backtrace:

file: 282 - /var/www/kp.ua/dev/lib/globals.php
call: backtrace()

file: 373 - /var/www/kp.ua/dev/lib/classes/mysql.class.php
call: sunsite("backtrace")

file: 412 - /var/www/kp.ua/dev/lib/classes/mysql.class.php
call: SunMySql->halt("Empty variable: a")

file: -
call: SunMySql->process_item(Array ( [0] => {a|i} [1] => [2] => a [3] => i ) )

file: 419 - /var/www/kp.ua/dev/lib/classes/mysql.class.php
call: preg_replace_callback("/\{([A-Za-z0-9\_\-]+)\}|\{([A-Za-z0-9\_\-]+)\|([a-z]{1})\}/Ui", Array ( [0] => SunMySql Object ( [Host] => [Database] => [User] => [Password] => [Auto_Free] => 0 [debugTemplate] => [Halt_On_Error] => yes [Seq_Table:SunMySql:private] => db_sequence [query_data:SunMySql:private] => Array ( [a] => [l] => 1 ) [next_id_props] => Array ( [shift] => 0 [count] => 1 ) [Record] => [Records] => [Row] => 3 [Errno] => 0 [Error] => [type] => mysql [revision] => sunsite.5 [Link_ID] => mysqli Object ( [affected_rows] => 0 [client_info] => mysqlnd 8.2.10 [client_version] => 80210 [connect_errno] => 0 [connect_error] => [errno] => 0 [error] => [error_list] => Array ( ) [field_count] => 0 [host_info] => 127.0.0.1 via TCP/IP [info] => [insert_id] => 0 [server_info] => 11.1.2-MariaDB [server_version] => 110102 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 109187953 [warning_count] => 0 ) [Query_ID] => mysqli_result Object ( [current_field] => 0 [field_count] => 1 [lengths] => [num_rows] => 1 [type] => 0 ) [replacechr] => ? [sql_log] => Array ( ) [queryTime:SunMySql:private] => 0 [setupSQL] => ) [1] => process_item ) , "SELECT * FROM articles WHERE absnum = {a|i} AND langid = {l|i}")

file: 193 - /var/www/kp.ua/dev/lib/classes/mysql.class.php
call: SunMySql->prepareQuery("SELECT * FROM articles WHERE absnum = {a|i} AND langid = {l|i}", Array ( [a] => [l] => 1 ) )

file: 168 - /var/www/kp.ua/dev/lib/classes/mysql.class.php
call: SunMySql->execQuery("SELECT * FROM articles WHERE absnum = {a|i} AND langid = {l|i}", Array ( [a] => [l] => 1 ) , False)

file: 32 - /var/www/kp.ua/modules.dev/kp/pages/5005.startup.php
call: SunMySql->qrow("SELECT * FROM articles WHERE absnum = {a|i} AND langid = {l|i}", Array ( [a] => [l] => 1 ) )

file: 184 - /var/www/kp.ua/dev/pages/core/init.startup.php
call: include("/var/www/kp.ua/modules.dev/kp/pages/5005.startup.php")

file: 30 - /var/www/kp.ua/sunsite/index.php
call: include("/var/www/kp.ua/dev/pages/core/init.startup.php")
[string:Exception:private] => [code:protected] => 0 [file:protected] => /var/www/kp.ua/dev/lib/classes/mysql.class.php [line:protected] => 385 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/www/kp.ua/dev/lib/classes/mysql.class.php [line] => 412 [function] => halt [class] => SunMySql [type] => -> [args] => Array ( [0] => Empty variable: a ) ) [1] => Array ( [function] => process_item [class] => SunMySql [type] => -> [args] => Array ( [0] => Array ( [0] => {a|i} [1] => [2] => a [3] => i ) ) ) [2] => Array ( [file] => /var/www/kp.ua/dev/lib/classes/mysql.class.php [line] => 419 [function] => preg_replace_callback [args] => Array ( [0] => /\{([A-Za-z0-9\_\-]+)\}|\{([A-Za-z0-9\_\-]+)\|([a-z]{1})\}/Ui [1] => Array ( [0] => SunMySql Object ( [Host] => [Database] => [User] => [Password] => [Auto_Free] => 0 [debugTemplate] => [Halt_On_Error] => yes [Seq_Table:SunMySql:private] => db_sequence [query_data:SunMySql:private] => Array ( [a] => [l] => 1 ) [next_id_props] => Array ( [shift] => 0 [count] => 1 ) [Record] => [Records] => [Row] => 3 [Errno] => 0 [Error] => [type] => mysql [revision] => sunsite.5 [Link_ID] => mysqli Object ( [affected_rows] => 0 [client_info] => mysqlnd 8.2.10 [client_version] => 80210 [connect_errno] => 0 [connect_error] => [errno] => 0 [error] => [error_list] => Array ( ) [field_count] => 0 [host_info] => 127.0.0.1 via TCP/IP [info] => [insert_id] => 0 [server_info] => 11.1.2-MariaDB [server_version] => 110102 [sqlstate] => 00000 [protocol_version] => 10 [thread_id] => 109187953 [warning_count] => 0 ) [Query_ID] => mysqli_result Object ( [current_field] => 0 [field_count] => 1 [lengths] => [num_rows] => 1 [type] => 0 ) [replacechr] => ? [sql_log] => Array ( ) [queryTime:SunMySql:private] => 0 [setupSQL] => ) [1] => process_item ) [2] => SELECT * FROM articles WHERE absnum = {a|i} AND langid = {l|i} ) ) [3] => Array ( [file] => /var/www/kp.ua/dev/lib/classes/mysql.class.php [line] => 193 [function] => prepareQuery [class] => SunMySql [type] => -> [args] => Array ( [0] => SELECT * FROM articles WHERE absnum = {a|i} AND langid = {l|i} [1] => Array ( [a] => [l] => 1 ) ) ) [4] => Array ( [file] => /var/www/kp.ua/dev/lib/classes/mysql.class.php [line] => 168 [function] => execQuery [class] => SunMySql [type] => -> [args] => Array ( [0] => SELECT * FROM articles WHERE absnum = {a|i} AND langid = {l|i} [1] => Array ( [a] => [l] => 1 ) [2] => ) ) [5] => Array ( [file] => /var/www/kp.ua/modules.dev/kp/pages/5005.startup.php [line] => 32 [function] => qrow [class] => SunMySql [type] => -> [args] => Array ( [0] => SELECT * FROM articles WHERE absnum = {a|i} AND langid = {l|i} [1] => Array ( [a] => [l] => 1 ) ) ) [6] => Array ( [file] => /var/www/kp.ua/dev/pages/core/init.startup.php [line] => 184 [args] => Array ( [0] => /var/www/kp.ua/modules.dev/kp/pages/5005.startup.php ) [function] => include ) [7] => Array ( [file] => /var/www/kp.ua/sunsite/index.php [line] => 30 [args] => Array ( [0] => /var/www/kp.ua/dev/pages/core/init.startup.php ) [function] => include ) ) [previous:Exception:private] => ) ) ) )