PDOException Object
(
    [message:protected] => SQLSTATE[08004] [1040] Too many connections
    [string:Exception:private] => 
    [code:protected] => 1040
    [file:protected] => /home/turkepin/public_html/app/class/db.php
    [line:protected] => 29
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/turkepin/public_html/app/class/db.php
                    [line] => 29
                    [function] => __construct
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => mysql:host=localhost;dbname=turkepin_pinciamca_pin;charset=utf8
                            [1] => turkepin_epin
                            [2] => turkepin_epin
                            [3] => Array
                                (
                                    [1002] => SET sql_mode="TRADITIONAL"
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /home/turkepin/public_html/app/class/db.php
                    [line] => 53
                    [function] => connect
                    [class] => db
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [2] => Array
                (
                    [file] => /home/turkepin/public_html/app/class/settings.php
                    [line] => 10
                    [function] => fetch
                    [class] => db
                    [type] => ::
                    [args] => Array
                        (
                            [0] => select * from ayarlar order by id desc limit 1
                            [1] => Array
                                (
                                )

                            [2] => 5
                        )

                )

            [3] => Array
                (
                    [file] => /home/turkepin/public_html/app/class/settings.php
                    [line] => 15
                    [function] => __construct
                    [class] => settings
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [4] => Array
                (
                    [file] => /home/turkepin/public_html/app/init.php
                    [line] => 168
                    [function] => getInstance
                    [class] => settings
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [5] => Array
                (
                    [file] => /home/turkepin/public_html/index.php
                    [line] => 3
                    [args] => Array
                        (
                            [0] => /home/turkepin/public_html/app/init.php
                        )

                    [function] => require_once
                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => 08004
            [1] => 1040
            [2] => Too many connections
        )

)