Deprecated: AppKernel implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/infopcstock/public_html/app/AppKernel.php on line 32

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/infopcstock/public_html/config/bootstrap.php on line 89

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/infopcstock/public_html/config/bootstrap.php on line 89

Warning: Cannot modify header information - headers already sent by (output started at /home/infopcstock/public_html/app/AppKernel.php:32) in /home/infopcstock/public_html/classes/exception/PrestaShopException.php on line 41

[PrestaShopException]

Link to database cannot be established: SQLSTATE[HY000] [1045] Access denied for user 'infopcst_user2020'@'localhost' (using password: YES)
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;