Error Object
(
    [message:protected] => Using $this when not in object context
    [string:Error:private] => 
    [code:protected] => 0
    [file:protected] => /home/bitrix/ext_www/mini.nauka-avto.ru/bitrix/modules/main/classes/mysql/database_mysqli.php
    [line:protected] => 71
    [trace:Error:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/bitrix/ext_www/mini.nauka-avto.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/mini.nauka-avto.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/mini.nauka-avto.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/mini.nauka-avto.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/mini.nauka-avto.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/mini.nauka-avto.ru/bitrix/modules/learning/classes/mysql/certification.php
                    [line] => 17
                    [function] => __construct
                    [class] => CLearnParsePermissionsFromFilter
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [STUDENT_ID] => 504
                                )

                        )

                )

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

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

                        )

                )

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

                )

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

                )

            [10] => Array
                (
                    [file] => /home/bitrix/ext_www/mini.nauka-avto.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] => 504
                                )

                        )

                )

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

                )

            [12] => Array
                (
                    [file] => /home/bitrix/ext_www/mini.nauka-avto.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/mini.nauka-avto.ru/bitrix/modules/main/classes/mysql/agent.php
                    [line] => 159
                    [function] => eval
                )

            [14] => Array
                (
                    [file] => /home/bitrix/ext_www/mini.nauka-avto.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/mini.nauka-avto.ru/bitrix/modules/main/include.php
                    [line] => 299
                    [function] => CheckAgents
                    [class] => CAgent
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

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

                    [function] => require_once
                )

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

                    [function] => require_once
                )

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

                    [function] => require_once
                )

            [19] => Array
                (
                    [file] => /home/bitrix/ext_www/mini.nauka-avto.ru/mini/index.php
                    [line] => 1
                    [args] => Array
                        (
                            [0] => /home/bitrix/ext_www/mini.nauka-avto.ru/bitrix/header.php
                        )

                    [function] => require
                )

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

                    [function] => include_once
                )

            [21] => Array
                (
                    [file] => /home/bitrix/ext_www/mini.nauka-avto.ru/bitrix/urlrewrite.php
                    [line] => 2
                    [args] => Array
                        (
                            [0] => /home/bitrix/ext_www/mini.nauka-avto.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/mini.nauka-avto.ru/bitrix/modules/main/classes/mysql/database_mysqli.php on line 71
Call Stack
#TimeMemoryFunctionLocation
10.0000398800{main}(  ).../urlrewrite.php:0
20.0001399368include_once( '/home/bitrix/ext_www/mini.nauka-avto.ru/bitrix/modules/main/include/urlrewrite.php' ).../urlrewrite.php:2
30.0007509088include_once( '/home/bitrix/ext_www/mini.nauka-avto.ru/mini/index.php' ).../urlrewrite.php:155
40.0007509320require( '/home/bitrix/ext_www/mini.nauka-avto.ru/bitrix/header.php' ).../index.php:1
50.0007509600require_once( '/home/bitrix/ext_www/mini.nauka-avto.ru/bitrix/modules/main/include/prolog.php' ).../header.php:1
60.0008509888require_once( '/home/bitrix/ext_www/mini.nauka-avto.ru/bitrix/modules/main/include/prolog_before.php' ).../prolog.php:11
70.0008518008require_once( '/home/bitrix/ext_www/mini.nauka-avto.ru/bitrix/modules/main/include.php' ).../prolog_before.php:14
80.00711528696CAgent::CheckAgents(  ).../include.php:299
90.00711529328CAgent::ExecuteAgents(  ).../agent.php:38
100.00791568824eval( '$eval_result=CUser::CleanUpAgent();' ).../agent.php:159
110.00791568824CAllUser::CleanUpAgent(  ).../agent.php(159) : eval()'d code:1
120.01312938160CAllUser::Delete(  ).../user.php:2770
130.04583674192ExecuteModuleEventEx(  ).../user.php:2347
140.04603708712CCourse::OnUserDelete(  ).../module.php:472
150.04603709032CStudent::Delete(  ).../course.php:587
160.04603711968CCertification::GetList(  ).../student.php:140
170.04603712832CLearnParsePermissionsFromFilter->__construct(  ).../certification.php:17
180.04613716216CLearnAccess->IsBaseAccess(  ).../clearnparsepermissionsfromfilter.php:39
190.04633785552CLearnAccess->GetBitmaskOperationsForAllLessons(  ).../clearnaccess.php:401
200.04633785552CLearnAccess::Array2CommaSeparatedListForSQL(  ).../clearnaccess.php:835
210.04633785552array_map
(  ).../clearnaccess.php:1004
220.04633785608CLearnAccess::EscapeAndAddLateralQuotes(  ).../clearnaccess.php:1004
230.04633785608CDatabase::ForSql(  ).../clearnaccess.php:1014

)