Skip to content

Fix error reporting for invalid queries executed via pla #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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