A PHP Error was encountered Severity: Notice Message: Trying to access array offset on value of type null Filename: mysqli/mysqli_driver.php Line Number: 120
This is what I have on the line in the specified file:
// Do we have a socket path?
if ($this->hostname[0] === '/')
{
$hostname = NULL;
$port = NULL;
$socket = $this->hostname;
}
else
{
$hostname = ($persistent === TRUE)
? 'p:'.$this->hostname : $this->hostname;
$port = empty($this->port) ? NULL : $this->port;
$socket = NULL;
}