-
Notifications
You must be signed in to change notification settings - Fork 77
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
$wpdb->suppress_errors() not supressing fatal errors during dbDelta() #139
Comments
giuscia
pushed a commit
to seed-glauco/ludicrousdb
that referenced
this issue
Oct 20, 2022
I'm facing this issue also! The fix is not doing enough. Is there any additional fix in progress? |
@thd-fox Given this project's last release was Dec 5, 2020 I think this one's dead 🤕 |
@dealer-solutions-gene Do you know any other $wpdb scaling replacement? Better than HyperDB or this one? |
JJJ
added a commit
that referenced
this issue
Apr 23, 2024
This allows errors to be explicitly suppressed when a query fails. See: #139.
JJJ
added a commit
that referenced
this issue
Apr 23, 2024
This allows errors to be explicitly suppressed when a query fails. Fixes #139.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After updating the "WP Offload Media" plugin I received this error
I've tracked it down to a
dbDelta()
call where the following is being executed, which has been written to ignore failures by the looks of it, eg under the situation where the table doesn't exist, asdbDelta
's job is to create or update db tables...the fatal error is generated via the
_do_query
code inclass-ludicrousdb.php
and my "local fix" is to wrap the above in try/catch restoring the check on
suppress_errors
as crudely as I can think to do itThe text was updated successfully, but these errors were encountered: