Php Warning: Tygh\backend\database\mysqli

Getting a number of these errors in my php error_log:

PHP Warning: Tygh\Backend\Database\Mysqli::errorCode() [tygh\backend\database\mysqli.errorcode]: Couldn’t fetch mysqli in /home/******/public_html/app/Tygh/Backend/Database/Mysqli.php on line 174

Anyone know what this might be and how to fix it?

Did you ever figure out what this error was caused by?

I don't think so, but it must have fixed itself in one of the updates because that particular warning is no longer being logged.

I do have tons of notices/warnings being thrown, though. That error_log file is almost 200 MB which seems huge. I'll start a couple of other threads when I get time, to see if anyone knows how to fix them.

You can use following command to remove those mysqli errors from your error_log if you are on a dedicated server. I get tons of warning messages from one of the addons and I run this every so often to reduce the file size drastically.

egrep -v "app/Tygh/Backend/Database/Mysqli.php on line 174" error_log > error_log-1; /etc/init.d/httpd stop; rm error_log -f; mv error_log-1 error_log; /etc/init.d/httpd start