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] => Ebdim [searcheablename:protected] => Eb;dim [htmlname:protected] => [altnames:protected] => ["Ebmb5","Ebm(-5)","Ebm(5-)"] [althtmlnames:protected] => [] [importance:protected] => 1 [keynotestring:protected] => Eb [keynotenum:protected] => 3 [altnamesearchable:protected] => ["Eb;mb5","Eb;m-5","Eb;m5-"] [notenumsstring:protected] => ["3","6","9"] [notestring:protected] => ["Eb","Gb","Bbb"] [simplifiednotes:protected] => ["Eb","Gb","A"] [nnotes:protected] => 3 [notenumbits:protected] => 584 [simplifiednotebits:protected] => 8736 [exactnotebits:protected] => 2204391964672 [dropablenumsbits:protected] => 0 [familyname:protected] => dim [familydesc:protected] => {"en":"diminished triad"} [intervalstring:protected] => ["1","m3","b5"] [intervalnumsstring:protected] => ["0","3","6"] [chordcategories:protected] => ["diminished"] [dropablenotenums:protected] => [] [dropablenotestrings:protected] => [] [notdropablenotenums:protected] => ["3","6","9"] [notdropablenotestrings:protected] => ["Eb","Gb","Bbb"] [dropableintervalstring:protected] => [] [nondropableintervalsstring:protected] => ["1","m3","b5"] [nondropableintervalnums:protected] => ["0","3","6"] [nondropablenotecount:protected] => 3 [enharmonicrelatedchords:protected] => [scalesenharmonicfit:protected] => [scalesexactfit:protected] => ) [inversionNote:UltimateChords\Chord:private] => UltimateChords\Note Object ( [num:UltimateChords\Note:private] => 1 [name:UltimateChords\Note:private] => Db [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] => 1 [name:UltimateChords\Note:private] => Db [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] => )