menu
#198 MySQL server has gone away

Submitted by PocketMine-MP 5.18.1+dev.2049

General information

Version: 5.18.1+dev.2049
Git commit: 162a4b1d
Plugin involvement: Direct
Report date: 2024-08-27 16:51:10 +0000 UTC
Server uptime: 0 days 0 hours 2 minutes 5 seconds

System Information

PHP version: 8.3.4
JIT status: Not available
Operating system: linux
System banner: Linux anmine.ru 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64

Error information

Warning: the GoBase plugin was directly involved in this crash. Please contact the plugin author.
Thread: AsyncWorker#0
Message: MySQL server has gone away
File: plugins/GoBase.phar/src/corndan/GoBase/MySQLTask
Line: #22
Type: mysqli_sql_exception
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
    private float $took = 0.0;
protected ?string $error = null;

private static ?mysqli $conn = null;

final public function onRun(): void
{
$start = microtime(true);
$mysqli = self::$conn;
if ($mysqli === null || !$mysqli->ping()) {
self::$conn = $mysqli = MySQL::connect();
}
try {
$this->exec($mysqli);
if ($mysqli->error) {
$this->error = $mysqli->error;
}
} catch (Throwable $exception) {
$this->error = $exception->getMessage();
}
#0 /home/anmine/servers/s2/plugins/GoBase.phar/src/corndan/GoBase/MySQLTask(22): mysqli->ping()
#1 pmsrc/src/scheduler/AsyncTask(81): corndan\GoBase\MySQLTask->onRun()
#2 (): pocketmine\scheduler\AsyncTask->run()

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show