Fatal error: Call to a member function set_charset() on null in /home/aniprem/public_html/core/db_driver/dr_mysqli.php on line 46

Fatal error: Uncaught exception 'Am_Exception_Db' with message 'Query execution was interrupted at /home/aniprem/public_html/amember/library/Am/Session/SaveHandler.php line 77(1317) in query: REPLACE INTO am_session SET `id`='u9432t0frbhoatk7v9f7lhrv12', `modified`='1540086901', `lifetime`='7200', `user_id`=NULL, `data`=''' in /home/aniprem/public_html/amember/library/Am/App.php:1003 Stack trace: #0 [internal function]: Am_Db::defaultDatabaseErrorHandler('Query execution...', Array) #1 /home/aniprem/public_html/amember/library/DbSimple/Generic.php(1244): call_user_func(Array, 'Query execution...', Array) #2 /home/aniprem/public_html/amember/library/DbSimple/Generic.php(861): DbSimple_Generic_LastError->_setLastError(1317, 'Query execution...', 'REPLACE INTO am...') #3 /home/aniprem/public_html/amember/library/DbSimple/Generic.php(1481): DbSimple_Generic_Database->_setLastError(1317, 'Query execution...', 'REPLACE INTO am...') #4 /home/aniprem/public_html/amember/library/DbSimple/Generic.php(1441): DbSimple_Mypdo->_setDbEr in /home/aniprem/public_html/amember/library/Am/App.php on line 1003