Select your language

mysqli object is already closed (500 Whoops, looks like something went wrong.)

Error

HTTP 500 Whoops, looks like something went wrong.

mysqli object is already closed

Exception

Error

  1.      */
  2.     public function disconnect()
  3.     {
  4.         // Close the connection.
  5.         if (\is_callable([$this->connection'close'])) {
  6.             $this->connection->close();
  7.         }
  8.         parent::disconnect();
  9.     }
  1.      */
  2.     public function disconnect()
  3.     {
  4.         // Close the connection.
  5.         if (\is_callable([$this->connection'close'])) {
  6.             $this->connection->close();
  7.         }
  8.         parent::disconnect();
  9.     }
  1.      *
  2.      * @since   2.0.0
  3.      */
  4.     public function __destruct()
  5.     {
  6.         $this->disconnect();
  7.     }
  8.     /**
  9.      * Alter database's character set.
  10.      *
DatabaseDriver->__destruct()

Stack Trace

Error
Error:
mysqli object is already closed

  at /home/u205232623/domains/cryptohubmalta.ai/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:367
  at mysqli->close()
     (/home/u205232623/domains/cryptohubmalta.ai/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php:367)
  at Joomla\Database\Mysqli\MysqliDriver->disconnect()
     (/home/u205232623/domains/cryptohubmalta.ai/public_html/libraries/vendor/joomla/database/src/DatabaseDriver.php:496)
  at Joomla\Database\DatabaseDriver->__destruct()