Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/project/web/app/plugins/wp-some-feed/feeds/instagram/instagram.php:37 Stack trace: #0 /var/www/project/web/app/plugins/wp-some-feed/classes/output/output.php(71): GeniemSome\Instagram->data(Array) #1 /var/www/project/web/app/plugins/wp-some-feed/classes/output/output.php(174): GeniemSome\Output::getFeedItems(Array) #2 /var/www/project/web/app/themes/hol-2018/lib/TAX/Category.php(140): GeniemSome\Output::output(Array) #3 /var/www/project/web/app/themes/hol-2018/lib/TAX/Category.php(38): Hol\TAX\Category->get_category_some() #4 /var/www/project/web/app/themes/hol-2018/lib/Util.php(30): Hol\TAX\Category->__construct(5677) #5 [internal function]: Hol\Util::Hol\{closure}(5677) #6 /var/www/project/web/app/themes/hol-2018/lib/Util.php(39): array_map(Object(Closure), Array) #7 /var/www/project/web/app/themes/hol-2018/lib/CPT/Post.php(151): Hol\Util::get_object_from_class(Array, '\\Hol\\TAX\\Catego...', 'term') #8 /var/www/project/web/app/themes/hol-2018/lib/CPT/Post.php(45): Hol\CPT\Post->get_categories() #9 /var/www/project/web/app/themes/hol-2018/lib/Util.php(30): Hol\CPT\Post->__construct(11080) #10 [internal function]: Hol\Util::Hol\{closure}(11080) #11 /var/www/project/web/app/themes/hol-2018/lib/Util.php(39): array_map(Object(Closure), Array) #12 /var/www/project/web/app/themes/hol-2018/models/single.php(114): Hol\Util::get_object_from_class(Array, '\\Hol\\CPT\\Post', 'post') #13 /var/www/project/web/app/themes/hol-2018/models/single.php(19): Single->related_posts(Object(WP_Post)) #14 [internal function]: Single->Content() #15 /var/www/project/vendor/devgeniem/dustpress/classes/model.php(585): call_user_func(Array) #16 /var/www/project/vendor/devgeniem/dustpress/classes/model.php(276): DustPress\Model->run_function('Content', 'Single') #17 /var/www/project/vendor/devgeniem/dustpress/dustpress.php(241): DustPress\Model->fetch_data() #18 /var/www/project/web/wp/wp-includes/class-wp-hook.php(286): DustPress->create_instance('/var/www/projec...') #19 /var/www/project/web/wp/wp-includes/plugin.php(203): WP_Hook->apply_filters('/var/www/projec...', Array) #20 /var/www/project/web/wp/wp-includes/template-loader.php(73): apply_filters('template_includ...', '/var/www/projec...') #21 /var/www/project/web/wp/wp-blog-header.php(19): require_once('/var/www/projec...') #22 /var/www/project/web/index.php(10): require('/var/www/projec...') #23 {main} thrown in /var/www/project/web/app/plugins/wp-some-feed/feeds/instagram/instagram.php on line 37