DbCon: could not connect to DB
PDOException Object
(
    [message:protected] => SQLSTATE[08004] [1040] Too many connections
    [string:Exception:private] => 
    [code:protected] => 1040
    [file:protected] => /var/www/vhosts/scales-chords.com/html/UltimateChords/DbCon.php
    [line:protected] => 52
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/vhosts/scales-chords.com/html/UltimateChords/DbCon.php
                    [line] => 52
                    [function] => __construct
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => mysql:host=localhost;dbname=UltimateChords;charset=utf8
                            [1] => UltimateChords
                            [2] => Ghij123!#
                            [3] => Array
                                (
                                    [20] => 0
                                    [3] => 2
                                    [1005] => 16777216
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /var/www/vhosts/scales-chords.com/html/UltimateChords/Interfaces/ChordCalculator.php
                    [line] => 290
                    [function] => __construct
                    [class] => UltimateChords\DbCon
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [2] => Array
                (
                    [file] => /var/www/vhosts/scales-chords.com/html/UltimateChords/Interfaces/ChordCalculator.php
                    [line] => 403
                    [function] => getFromCache
                    [class] => UltimateChords\Interfaces\ChordCalculator
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [3] => Array
                (
                    [file] => /var/www/vhosts/scales-chords.com/html/chord/ChordPageClass.php
                    [line] => 765
                    [function] => Calc
                    [class] => UltimateChords\Interfaces\ChordCalculator
                    [type] => ->
                    [args] => Array
                        (
                            [0] => UltimateChords\Chord Object
                                (
                                    [chordRecord:UltimateChords\Chord:private] => UltimateChords\ChordRecord Object
                                        (
                                            [_tabletype:protected] => 1
                                            [_optional_fields_loaded:protected] => 
                                            [name:protected] => A#6sus4
                                            [searcheablename:protected] => A#;6sus4
                                            [htmlname:protected] => A#sus46
                                            [altnames:protected] => []
                                            [althtmlnames:protected] => []
                                            [importance:protected] => 2
                                            [keynotestring:protected] => A#
                                            [keynotenum:protected] => 10
                                            [altnamesearchable:protected] => []
                                            [notenumsstring:protected] => ["10","3","5","7"]
                                            [notestring:protected] => ["A#","D#","E#","F##"]
                                            [simplifiednotes:protected] => ["A#","D#","F","G"]
                                            [nnotes:protected] => 4
                                            [notenumbits:protected] => 1192
                                            [simplifiednotebits:protected] => 17552
                                            [exactnotebits:protected] => 135936
                                            [dropablenumsbits:protected] => 32
                                            [familyname:protected] => 6sus4
                                            [familydesc:protected] => {"en":"sixth suspended fourth"}
                                            [intervalstring:protected] => ["1","4","5","6"]
                                            [intervalnumsstring:protected] => ["0","5","7","9"]
                                            [chordcategories:protected] => ["suspended","sixth"]
                                            [dropablenotenums:protected] => ["5"]
                                            [dropablenotestrings:protected] => ["E#"]
                                            [notdropablenotenums:protected] => ["10","3","7"]
                                            [notdropablenotestrings:protected] => ["A#","D#","F##"]
                                            [dropableintervalstring:protected] => ["5"]
                                            [nondropableintervalsstring:protected] => ["1","4","6"]
                                            [nondropableintervalnums:protected] => ["0","5","9"]
                                            [nondropablenotecount:protected] => 3
                                            [enharmonicrelatedchords:protected] => 
                                            [scalesenharmonicfit:protected] => 
                                            [scalesexactfit:protected] => 
                                        )

                                    [inversionNote:UltimateChords\Chord:private] => UltimateChords\Note Object
                                        (
                                            [num:UltimateChords\Note:private] => 9
                                            [name:UltimateChords\Note:private] => A
                                            [isnumeric:UltimateChords\Note:private] => 
                                            [error:UltimateChords\Note:private] => 
                                        )

                                    [addednotesList:UltimateChords\Chord:private] => 
                                    [addedIntervalList:UltimateChords\Chord:private] => 
                                    [allow_promote_intervals:UltimateChords\Chord:private] => 
                                    [forbidDropNoteList:UltimateChords\Chord:private] => UltimateChords\NoteList Object
                                        (
                                            [notes_array:UltimateChords\NoteList:private] => Array
                                                (
                                                    [0] => UltimateChords\Note Object
                                                        (
                                                            [num:UltimateChords\Note:private] => 9
                                                            [name:UltimateChords\Note:private] => A
                                                            [isnumeric:UltimateChords\Note:private] => 
                                                            [error:UltimateChords\Note:private] => 
                                                        )

                                                )

                                        )

                                    [internalNoteMap:UltimateChords\Chord:private] => 
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /var/www/vhosts/scales-chords.com/html/chord/ChordPageClass.php
                    [line] => 756
                    [function] => execCalculator
                    [class] => ChordPageClass
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [5] => Array
                (
                    [file] => /var/www/vhosts/scales-chords.com/html/chord/index_ultimatechords.php
                    [line] => 87
                    [function] => CreateChordObject
                    [class] => ChordPageClass
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [6] => Array
                (
                    [file] => /var/www/vhosts/scales-chords.com/html/chord/index.php
                    [line] => 15
                    [args] => Array
                        (
                            [0] => /var/www/vhosts/scales-chords.com/html/chord/index_ultimatechords.php
                        )

                    [function] => require
                )

        )

    [previous:Exception:private] => 
    [errorInfo] => 
)