Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/bostadsregistret.se/www/public_html/wp-content/themes/bostad/functions.php:189
Stack trace:
#0 /home/bostadsregistret.se/www/public_html/wp-content/themes/bostad/page-apart.php(7): get_data_from_API()
#1 /home/bostadsregistret.se/www/public_html/wp-includes/template-loader.php(106): include('...')
#2 /home/bostadsregistret.se/www/public_html/wp-blog-header.php(19): require_once('...')
#3 /home/bostadsregistret.se/www/public_html/index.php(17): require('...')
#4 {main}
thrown in /home/bostadsregistret.se/www/public_html/wp-content/themes/bostad/functions.php on line 189