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_mysql.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/zapchasti/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/zapchasti/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] => 
)