Code: Select all
[Mon Nov 18 00:31:41 2019] [warn] [pid 29805] sapi_apache2.c(351): [client 99.122.162.93:40294] PHP Warning: mysqli::stat(): Couldn't fetch mysqli in /home/c/c/public_html/libraries/joomla/database/driver/mysqli.php on line 213
[Mon Nov 18 00:31:41 2019] [warn] [pid 29805] sapi_apache2.c(351): [client 99.122.162.93:40294] PHP Warning: mysqli_close(): Couldn't fetch mysqli in /home/c/c/public_html/libraries/joomla/database/driver/mysqli.php on line 220
Если посмотреть нужные строки в файле /libraries/joomla/database/driver/mysqli.php то есть 213-220
то там
Code: Select all
if ($this->connection instanceof mysqli && $this->connection->stat()!== false)
{
foreach ($this->disconnectHandlers as $h)
{
call_user_func_array($h, array( &$this));
}
mysqli_close($this->connection);
Code: Select all
if ($this->connection)
{
foreach ($this->disconnectHandlers as $h)
{
call_user_func_array($h, array( &$this));
}
mysqli_close($this->connection);
}
$this->connection = null;
Но все же хочеться выяснить где она и как убрать.