I installed the new Ubuntu and my code has got a problem with MySQL.
( ! ) Warning: PDOStatement::execute(): SQLSTAT
In order to fix the issue open the following file:
/etc/mysql/mysql.conf.d/mysqld.cnf
and add the following line under [mysqld] block
sql-mode=""