[PrestaShopException]

Link to database cannot be established: SQLSTATE[08004] [1040] Too many connections
at line 127 in file classes/db/DbPDO.php

122.     public function connect()
123.     {
124.         try {
125.             $this->link = $this->getPDO($this->server, $this->user, $this->password, $this->database, 5);
126.         } catch (PDOException $e) {
127.             throw new PrestaShopException('Link to database cannot be established: ' . $e->getMessage());
128.         }
129. 
130.         $this->link->exec('SET SESSION sql_mode = \'\'');
131. 
132.         return $this->link;

Warning: file_put_contents(/var/www/html/magnatechcorp.com/public_html/products/var/logs/20240319_exception.log): failed to open stream: No space left on device in /var/www/html/magnatechcorp.com/public_html/products/classes/log/FileLogger.php on line 43