[php-src] Issue #8249: PHP Fatal error: Uncaught mysqli_sql_exception: Duplicate column name
| From: | kamil-tekiela | Date: | Fri, 25 Mar 2022 13:22:49 +0000 |
| Subject: | [php-src] Issue #8249: PHP Fatal error: Uncaught mysqli_sql_exception: Duplicate column name | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240494@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8249
Comment Author: kamil-tekiela
Unfortunately, this is not a bug. I must close this report as invalid.
You can disable mysqli error reporting if you really wish so, or you can just catch the exception
and handle it however you want. It's a standard PHP behaviour. Take a look at the documentation
https://www.php.net/manual/en/mysqli-driver.report-mode.php
Here is a helpful guy written by one of PHP users: https://phpdelusions.net/mysqli/error_reporting