Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/equinoxx/public_html/wp-content/plugins/royal-elementor-addons/modules/instagram-feed/widgets/wpr-instagram-feed.php:4952
Stack trace:
#0 /home/equinoxx/public_html/wp-content/plugins/royal-elementor-addons/modules/instagram-feed/widgets/wpr-instagram-feed.php(5522): WprAddons\Modules\InstagramFeed\Widgets\Wpr_Instagram_Feed->refresh_access_token('IGQWRNSmFDMS12W...')
#1 /home/equinoxx/public_html/wp-content/plugins/elementor/includes/base/controls-stack.php(2374): WprAddons\Modules\InstagramFeed\Widgets\Wpr_Instagram_Feed->render()
#2 /home/equinoxx/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(636): Elementor\Controls_Stack->render_by_mode()
#3 /home/equinoxx/public_html/wp-content/plugins/elementor/includes/base/widget-base.php(774): Elementor\Widget_Base->render_content()
#4 /home/equinoxx/public_html/wp-content/plugins/elementor/includes/base/element-base.php(492): Elementor\Widget_Base->print_content()
#5 /home/equinoxx/public_html/wp-content/plugins/elementor/modules/element-cache/module.php(91): Elementor\Element_Base->print_element()
#6 /home/equinoxx/public_html/wp-includes/shortcodes.php(434): Elementor\Modules\ElementCache\Module->Elementor\Modules\ElementCache\{closure}(Array, '', 'elementor-eleme...')
#7 [internal function]: do_shortcode_tag(Array)
#8 /home/equinoxx/public_html/wp-includes/shortcodes.php(273): preg_replace_callback('/\\[(\\[?)(elemen...', 'do_shortcode_ta...', '<div class="wpr...')
#9 /home/equinoxx/public_html/wp-content/plugins/elementor/core/base/document.php(1877): do_shortcode('<div class="wpr...')
#10 /home/equinoxx/public_html/wp-content/plugins/elementor/core/base/document.php(1210): Elementor\Core\Base\Document->print_elements(Array)
#11 /home/equinoxx/public_html/wp-content/plugins/elementor/includes/frontend.php(1168): Elementor\Core\Base\Document->print_elements_with_wrapper(Array)
#12 /home/equinoxx/public_html/wp-content/plugins/elementor/includes/frontend.php(1063): Elementor\Frontend->get_builder_content(847)
#13 /home/equinoxx/public_html/wp-includes/class-wp-hook.php(324): Elementor\Frontend->apply_builder_in_content('<style>/*! elem...')
#14 /home/equinoxx/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('<style>/*! elem...', Array)
#15 /home/equinoxx/public_html/wp-includes/post-template.php(256): apply_filters('the_content', '<style>/*! elem...')
#16 /home/equinoxx/public_html/wp-content/plugins/elementor/modules/page-templates/module.php(190): the_content()
#17 [internal function]: Elementor\Modules\PageTemplates\Module->print_callback()
#18 /home/equinoxx/public_html/wp-content/plugins/elementor/modules/page-templates/module.php(207): call_user_func(Array)
#19 /home/equinoxx/public_html/wp-content/plugins/elementor/modules/page-templates/templates/canvas.php(41): Elementor\Modules\PageTemplates\Module->print_content()
#20 /home/equinoxx/public_html/wp-includes/template-loader.php(106): include('/home/equinoxx/...')
#21 /home/equinoxx/public_html/wp-blog-header.php(19): require_once('/home/equinoxx/...')
#22 /home/equinoxx/public_html/index.php(17): require('/home/equinoxx/...')
#23 {main}
thrown in /home/equinoxx/public_html/wp-content/plugins/royal-elementor-addons/modules/instagram-feed/widgets/wpr-instagram-feed.php on line 4952