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/remont/index.php
                    [line] => 2
                    [args] => Array
                        (
                            [0] => /home/bitrix/ext_www/mini.nauka-avto.ru/bitrix/header.php
                        )

                    [function] => require
                )

        )

    [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.0001403112{main}(  ).../index.php:0
20.0001403368require( '/home/bitrix/ext_www/mini.nauka-avto.ru/bitrix/header.php' ).../index.php:2
30.0002403648require_once( '/home/bitrix/ext_www/mini.nauka-avto.ru/bitrix/modules/main/include/prolog.php' ).../header.php:1
40.0002404000require_once( '/home/bitrix/ext_www/mini.nauka-avto.ru/bitrix/modules/main/include/prolog_before.php' ).../prolog.php:11
50.0003406488require_once( '/home/bitrix/ext_www/mini.nauka-avto.ru/bitrix/modules/main/include.php' ).../prolog_before.php:14
60.00421303744CAgent::CheckAgents(  ).../include.php:299
70.00431304536CAgent::ExecuteAgents(  ).../agent.php:38
80.00851716952eval( '$eval_result=CUser::CleanUpAgent();' ).../agent.php:159
90.00851716952CAllUser::CleanUpAgent(  ).../agent.php(159) : eval()'d code:1
100.01223019280CAllUser::Delete(  ).../user.php:2770
110.04393753176ExecuteModuleEventEx(  ).../user.php:2347
120.04403772592CCourse::OnUserDelete(  ).../module.php:472
130.04403772912CStudent::Delete(  ).../course.php:587
140.04403775848CCertification::GetList(  ).../student.php:140
150.04403776712CLearnParsePermissionsFromFilter->__construct(  ).../certification.php:17
160.04413780096CLearnAccess->IsBaseAccess(  ).../clearnparsepermissionsfromfilter.php:39
170.04433783896CLearnAccess->GetBitmaskOperationsForAllLessons(  ).../clearnaccess.php:401
180.04433783896CLearnAccess::Array2CommaSeparatedListForSQL(  ).../clearnaccess.php:835
190.04433783896array_map
(  ).../clearnaccess.php:1004
200.04433783952CLearnAccess::EscapeAndAddLateralQuotes(  ).../clearnaccess.php:1004
210.04433783952CDatabase::ForSql(  ).../clearnaccess.php:1014

)