ErrorException Object
(
    [message:protected] => mysqli_connect(): (08004/1040): Too many connections
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /System/pvt/system/mySQL.php
    [line:protected] => 27
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [function] => exceptions_error_handler
                    [args] => Array
                        (
                            [0] => 2
                            [1] => mysqli_connect(): (08004/1040): Too many connections
                            [2] => /System/pvt/system/mySQL.php
                            [3] => 27
                            [4] => Array
                                (
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /System/pvt/system/mySQL.php
                    [line] => 27
                    [function] => mysqli_connect
                    [args] => Array
                        (
                            [0] => db-slave.toprankers.net
                            [1] => root
                            [2] => #welcome123
                            [3] => DeliveryDB
                        )

                )

            [2] => Array
                (
                    [file] => /System/pvt/system/mySQL.php
                    [line] => 71
                    [function] => Init
                    [class] => MySQLClient
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [3] => Array
                (
                    [file] => /System/pvt/entity/exentity.php
                    [line] => 34
                    [function] => Query
                    [class] => MySQLClient
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT `TestList`.`id`, `TestList`.`title`, `CategoryExam`.`categoryId`, `ExamTestList`.`examId`, `URLs`.`urlKey` FROM `TestList` INNER JOIN `ExamTestList` ON `ExamTestList`.`testListId` = `TestList`.`id` INNER JOIN `CategoryExam` ON `CategoryExam`.`examId` = `ExamTestList`.`examId` INNER JOIN `URLs` ON `URLs`.`domainId` = '966' AND `URLs`.`action` = CONCAT('lists/test&id=', `TestList`.`id`) WHERE CategoryExam.`categoryId` IN ('41','52','92','36','44','50','62','76','83','42','40','43') AND CategoryExam.deleted = '0' AND ExamTestList.deleted = '0' AND `TestList`.listType = 0  ORDER BY `TestList`.`listIndex`, `TestList`.`id` ASC;
                            [1] => 1
                        )

                )

            [4] => Array
                (
                    [file] => /System/pvt/entity/tr2header.php
                    [line] => 82
                    [function] => Query
                    [class] => EXEntity
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT `TestList`.`id`, `TestList`.`title`, `CategoryExam`.`categoryId`, `ExamTestList`.`examId`, `URLs`.`urlKey` FROM `TestList` INNER JOIN `ExamTestList` ON `ExamTestList`.`testListId` = `TestList`.`id` INNER JOIN `CategoryExam` ON `CategoryExam`.`examId` = `ExamTestList`.`examId` INNER JOIN `URLs` ON `URLs`.`domainId` = '966' AND `URLs`.`action` = CONCAT('lists/test&id=', `TestList`.`id`) WHERE CategoryExam.`categoryId` IN ('41','52','92','36','44','50','62','76','83','42','40','43') AND CategoryExam.deleted = '0' AND ExamTestList.deleted = '0' AND `TestList`.listType = 0  ORDER BY `TestList`.`listIndex`, `TestList`.`id` ASC;
                        )

                )

            [5] => Array
                (
                    [file] => /System/TR2/controllers/common/header.php
                    [line] => 29
                    [function] => getMegaMenu
                    [class] => tr2headerEntity
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                )

                        )

                )

            [6] => Array
                (
                    [file] => /System/TR2/tr1header.php
                    [line] => 34
                    [args] => Array
                        (
                            [0] => /System/TR2/controllers/common/header.php
                        )

                    [function] => require_once
                )

            [7] => Array
                (
                    [file] => /System/htdocs/layout_header.php
                    [line] => 15
                    [args] => Array
                        (
                            [0] => /System/TR2/tr1header.php
                        )

                    [function] => require_once
                )

            [8] => Array
                (
                    [file] => /System/htdocs/layout_default.php
                    [line] => 134
                    [args] => Array
                        (
                            [0] => /System/htdocs/layout_header.php
                        )

                    [function] => include
                )

            [9] => Array
                (
                    [file] => /System/htdocs/framework.php
                    [line] => 171
                    [args] => Array
                        (
                            [0] => /System/htdocs/layout_default.php
                        )

                    [function] => include
                )

            [10] => Array
                (
                    [file] => /System/htdocs/framework.php
                    [line] => 120
                    [function] => Framework_RenderLayout
                    [args] => Array
                        (
                        )

                )

            [11] => Array
                (
                    [file] => /System/htdocs/index.php
                    [line] => 414
                    [function] => Framework
                    [args] => Array
                        (
                        )

                )

        )

    [previous:Exception:private] => 
    [severity:protected] => 2
)
Terminated from TRHelper::PrintVar