Error Object
(
    [message:protected] => Using $this when not in object context
    [string:Error:private] => 
    [code:protected] => 0
    [file:protected] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/classes/mysql/database_mysqli.php
    [line:protected] => 71
    [trace:Error:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/learning/classes/general/clearnaccess.php
                    [line] => 1014
                    [function] => ForSql
                    [class] => CDatabase
                    [type] => ::
                    [args] => Array
                        (
                            [0] => G2
                        )

                )

            [1] => Array
                (
                    [function] => EscapeAndAddLateralQuotes
                    [class] => CLearnAccess
                    [type] => ::
                    [args] => Array
                        (
                            [0] => G2
                        )

                )

            [2] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/learning/classes/general/clearnaccess.php
                    [line] => 1004
                    [function] => array_map
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => CLearnAccess
                                    [1] => EscapeAndAddLateralQuotes
                                )

                            [1] => Array
                                (
                                    [0] => G2
                                    [1] => AU
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/learning/classes/general/clearnaccess.php
                    [line] => 835
                    [function] => Array2CommaSeparatedListForSQL
                    [class] => CLearnAccess
                    [type] => ::
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => G2
                                    [1] => AU
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/learning/classes/general/clearnaccess.php
                    [line] => 401
                    [function] => GetBitmaskOperationsForAllLessons
                    [class] => CLearnAccess
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => G2
                                    [1] => AU
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/learning/classes/general/clearnparsepermissionsfromfilter.php
                    [line] => 39
                    [function] => IsBaseAccess
                    [class] => CLearnAccess
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 1
                        )

                )

            [6] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/learning/classes/mysql/certification.php
                    [line] => 17
                    [function] => __construct
                    [class] => CLearnParsePermissionsFromFilter
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [STUDENT_ID] => 754
                                )

                        )

                )

            [7] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/learning/classes/general/student.php
                    [line] => 140
                    [function] => GetList
                    [class] => CCertification
                    [type] => ::
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                            [1] => Array
                                (
                                    [STUDENT_ID] => 754
                                )

                        )

                )

            [8] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/learning/classes/general/course.php
                    [line] => 587
                    [function] => Delete
                    [class] => CStudent
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 754
                        )

                )

            [9] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/classes/general/module.php
                    [line] => 472
                    [function] => OnUserDelete
                    [class] => CCourse
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 754
                        )

                )

            [10] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/classes/general/user.php
                    [line] => 2347
                    [function] => ExecuteModuleEventEx
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [SORT] => 100
                                    [TO_MODULE_ID] => learning
                                    [TO_PATH] => 
                                    [TO_CLASS] => CCourse
                                    [TO_METHOD] => OnUserDelete
                                    [TO_METHOD_ARG] => Array
                                        (
                                        )

                                    [VERSION] => 1
                                    [TO_NAME] => CCourse::OnUserDelete (learning)
                                    [FROM_DB] => 1
                                )

                            [1] => Array
                                (
                                    [0] => 754
                                )

                        )

                )

            [11] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/classes/general/user.php
                    [line] => 2770
                    [function] => Delete
                    [class] => CAllUser
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 754
                        )

                )

            [12] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/classes/mysql/agent.php(159) : eval()'d code
                    [line] => 1
                    [function] => CleanUpAgent
                    [class] => CAllUser
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [13] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/classes/mysql/agent.php
                    [line] => 159
                    [function] => eval
                )

            [14] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/classes/mysql/agent.php
                    [line] => 38
                    [function] => ExecuteAgents
                    [class] => CAgent
                    [type] => ::
                    [args] => Array
                        (
                            [0] => 
                        )

                )

            [15] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/include.php
                    [line] => 299
                    [function] => CheckAgents
                    [class] => CAgent
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [16] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/include/prolog_before.php
                    [line] => 14
                    [args] => Array
                        (
                            [0] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/include.php
                        )

                    [function] => require_once
                )

            [17] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/include/prolog.php
                    [line] => 11
                    [args] => Array
                        (
                            [0] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/include/prolog_before.php
                        )

                    [function] => require_once
                )

            [18] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/header.php
                    [line] => 1
                    [args] => Array
                        (
                            [0] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/include/prolog.php
                        )

                    [function] => require_once
                )

            [19] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/tyuning/index.php
                    [line] => 2
                    [args] => Array
                        (
                            [0] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/header.php
                        )

                    [function] => require
                )

            [20] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/include/urlrewrite.php
                    [line] => 155
                    [args] => Array
                        (
                            [0] => /home/bitrix/ext_www/nauka-auto.ru/tyuning/index.php
                        )

                    [function] => include_once
                )

            [21] => Array
                (
                    [file] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/urlrewrite.php
                    [line] => 2
                    [args] => Array
                        (
                            [0] => /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/include/urlrewrite.php
                        )

                    [function] => include_once
                )

        )

    [previous:Error:private] => 
    [xdebug_message] => ( ! ) Error: Using $this when not in object context in /home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/classes/mysql/database_mysqli.php on line 71
Call Stack
#TimeMemoryFunctionLocation
10.0001398512{main}(  ).../urlrewrite.php:0
20.0001399080include_once( '/home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/include/urlrewrite.php' ).../urlrewrite.php:2
30.0023568288include_once( '/home/bitrix/ext_www/nauka-auto.ru/tyuning/index.php' ).../urlrewrite.php:155
40.0023568520require( '/home/bitrix/ext_www/nauka-auto.ru/bitrix/header.php' ).../index.php:2
50.0023568800require_once( '/home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/include/prolog.php' ).../header.php:1
60.0023569088require_once( '/home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/include/prolog_before.php' ).../prolog.php:11
70.0024571576require_once( '/home/bitrix/ext_www/nauka-auto.ru/bitrix/modules/main/include.php' ).../prolog_before.php:14
80.00641389032CAgent::CheckAgents(  ).../include.php:299
90.00641389504CAgent::ExecuteAgents(  ).../agent.php:38
100.00751471248eval( '$eval_result=CUser::CleanUpAgent();' ).../agent.php:159
110.00751471248CAllUser::CleanUpAgent(  ).../agent.php(159) : eval()'d code:1
120.01162867048CAllUser::Delete(  ).../user.php:2770
130.02083688184ExecuteModuleEventEx(  ).../user.php:2347
140.02093706320CCourse::OnUserDelete(  ).../module.php:472
150.02093706640CStudent::Delete(  ).../course.php:587
160.02093709576CCertification::GetList(  ).../student.php:140
170.02103710440CLearnParsePermissionsFromFilter->__construct(  ).../certification.php:17
180.02103713824CLearnAccess->IsBaseAccess(  ).../clearnparsepermissionsfromfilter.php:39
190.02123717624CLearnAccess->GetBitmaskOperationsForAllLessons(  ).../clearnaccess.php:401
200.02123717624CLearnAccess::Array2CommaSeparatedListForSQL(  ).../clearnaccess.php:835
210.02123717624array_map
(  ).../clearnaccess.php:1004
220.02123717680CLearnAccess::EscapeAndAddLateralQuotes(  ).../clearnaccess.php:1004
230.02123717680CDatabase::ForSql(  ).../clearnaccess.php:1014

)