Warning: file_get_contents(/var/www/html/apple_secret.json): failed to open stream: No such file or directory in /var/www/html/config/services.php on line 96
🧨 Redis connection [session] not configured.
/var/www/html/
InvalidArgumentException
Redis connection [session] not configured.
    • 43
      vendor/laravel/framework/src/Illuminate/Redis/RedisManager.php
      Illuminate\Redis\RedisManager
      :119
    • 1
      public/index.php
      :58
Illuminate\Redis\RedisManager::resolve
vendor/laravel/framework/src/Illuminate/Redis/RedisManager.php:119

104

105

106

107

108

109

110

111

112

113

114

115

116

117

118

119

120

121

122

123

124

125

126

127

128

129

130

131

132

133

134

$name = $name ?: 'default';

 

$options = $this->config['options'] ?? [];

 

if (isset($this->config[$name])) {

return $this->connector()->connect(

$this->parseConnectionConfiguration($this->config[$name]),

$options

);

}

 

if (isset($this->config['clusters'][$name])) {

return $this->resolveCluster($name);

}

 

throw new InvalidArgumentException("Redis connection [{$name}] not configured.");

}

 

/**

* Resolve the given cluster connection by name.

*

* @param string $name

* @return \Illuminate\Redis\Connections\Connection

*/

protected function resolveCluster($name)

{

return $this->connector()->connectToCluster(

array_map(function ($config) {

return $this->parseConnectionConfiguration($config);

}, $this->config['clusters'][$name]),

$this->config['clusters']['options'] ?? [],