Skip to content

Conversation

nico-abram
Copy link

@nico-abram nico-abram commented Mar 31, 2025

The default of PDO::ATTR_ERRMODE changed to PDO::ERRMODE_EXCEPTION in PHP 8, which makes it throw an exception which stops the html output halfway through.

This sets it to the old default PDO::ERRMODE_SILENT.

Fixes #46

Since the default changed to PDO::ERRMODE_EXCEPTION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Executing queries with errors does not display the error on PHP 8
1 participant