There was an error while loading. Please reload this page.
2 parents c67a903 + e671f9d commit 492ab74Copy full SHA for 492ab74
1 file changed
src/Instagram/Transport/HtmlTransportFeed.php
@@ -73,7 +73,7 @@ public function fetchData($userName)
73
throw new InstagramAuthException('Instagram blocked your IP. Login is required.');
74
}
75
76
- if ($this->cacheManager->sessionName) {
+ if ($this->cacheManager && $this->cacheManager->sessionName) {
77
$this->cacheManager->setSession($this->cacheManager->sessionName, $cookieJar);
78
} elseif ($this->cacheManager instanceof CacheManager) {
79
$newCache = new Cache();
0 commit comments