You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initially I was thinking you could switch to looking up if the table existed in the information_schema which would solve these checks in the init modules however it wouldn't solve this case where the user's custom SQL needs to be attempted and the result reported back.
Options:
Restore previous behaviour by running mysqli_report(MYSQLI_REPORT_OFF); somewhere high up (eg. on connect)
Add try...catch around the mysqli_query call and handle based on the $db->fatal_errors setting
Remove the enable/disable fatal_errors functionality completely and handle the exceptions locally as required.
Happy to help with a pull request once an option is decided on,
The text was updated successfully, but these errors were encountered:
The PHP docs report:
This is breaking MythWeb from starting if you don't use mythmusic as the init check now throws this:
Initially I was thinking you could switch to looking up if the table existed in the information_schema which would solve these checks in the init modules however it wouldn't solve this case where the user's custom SQL needs to be attempted and the result reported back.
Options:
mysqli_report(MYSQLI_REPORT_OFF);somewhere high up (eg. on connect)try...catcharound the mysqli_query call and handle based on the$db->fatal_errorssettingHappy to help with a pull request once an option is decided on,
The text was updated successfully, but these errors were encountered: