Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.0.0, 4.1.0, 4.2.0, 4.3.0
-
Fix Version/s: 4.3.1
-
Component/s: None
-
Labels:None
Description
See https://www.blesta.com/forums/index.php?/topic/11795-pdo-not-throwing-exceptions-on-errors/
PDO is configured to fail silently due to PDO::ATTR_ERRMODE set to 0 (silent). It should be set to PDO::ERRMODE_EXCEPTION (2) to throw exceptions for erroneous queries.