I am in the process of upgrading our cluster in Aurora AWS to mysql 8.
Currently running in blue / green environment and testing our read only reports against the green environment Read only instance.
At the end of each report I get the following error on one of my setups:
Fatal error: Uncaught Error: mysqli object is already closed in /usr/share/nginx/html/pos/lib/db_utils.php:1356 Stack trace: #0 /usr/share/nginx/html/pos/lib/db_utils.php(1356): mysqli_close() #1 /usr/share/nginx/html/pos/lib/db_connection.class.php(104): DB_CloseConnection() #2 /usr/share/nginx/html/pos/apps/showReport.php(9648): DB_Connections->close_all() #3 /usr/share/nginx/html/pos/apps/showReport.php(9): sg_load() #4 /usr/share/nginx/html/pos/report.php(540): require_once('...') #5 /usr/share/nginx/html/pos/report.php(9): sg_load() #6 {main} thrown in /usr/share/nginx/html/pos/lib/db_utils.php on line 1356