You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: Undefined property: stdClass::$items in Instagram/vendor/pgrimaud/instagram-user-feed/src/Instagram/Transport/JsonMediaDetailedDataFeed.php on line 23 Fatal error: Uncaught TypeError: current(): Argument #1 ($array) must be of type array, null given in Instagram/vendor/pgrimaud/instagram-user-feed/src/Instagram/Transport/JsonMediaDetailedDataFeed.php:23 Stack trace: #0 Instagram/vendor/pgrimaud/instagram-user-feed/src/Instagram/Transport/JsonMediaDetailedDataFeed.php(23): current(NULL) #1 Instagram/vendor/pgrimaud/instagram-user-feed/src/Instagram/Api.php(407): Instagram\Transport\JsonMediaDetailedDataFeed->fetchData(Object(Instagram\Model\Media)) #2 Instagram/media-download.php(24): Instagram\Api->getMediaDetailed(Object(Instagram\Model\Media)) #3 {main} thrown in Instagram/vendor/pgrimaud/instagram-user-feed/src/Instagram/Transport/JsonMediaDetailedDataFeed.php on line 23
Version(s) affected: 7.0
Description
Instagram\Model\Media::toArray()
specifies wrong property name:'shortcode' => $this->shortCode
This produces an error:
Deprecated function: Creation of dynamic property Instagram\Model\Media::$shortcode is deprecated
How to reproduce
Serialize/unserialize an Media object.
Possible Solution
Fix key name in returned array.
'shortCode' => $this->shortCode
The text was updated successfully, but these errors were encountered: