Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/mywayiscom/mywayis.com/docs/wp-content/themes/stays/libs/API365/API365.php:28 Stack trace: #0 /home/mywayiscom/mywayis.com/docs/wp-content/themes/stays/libs/API365/API365.php(96): API365::CallEndpoint('property-galler...', 'ccf2a5e733c9fa0...', Array) #1 /home/mywayiscom/mywayis.com/docs/wp-content/themes/stays/libs/API365/API365.php(134): API365::GetAllPropertiesGalleries('ccf2a5e733c9fa0...', Array) #2 /home/mywayiscom/mywayis.com/docs/wp-content/themes/stays/page-templates/365-property.php(29): API365::GetPropertyGallery('ccf2a5e733c9fa0...', '3') #3 /home/mywayiscom/mywayis.com/docs/wp-includes/template-loader.php(74): include('/home/mywayisco...') #4 /home/mywayiscom/mywayis.com/docs/wp-blog-header.php(19): require_once('/home/mywayisco...') #5 /home/mywayiscom/mywayis.com/docs/index.php(17): require('/home/mywayisco...') #6 {main} thrown in /home/mywayiscom/mywayis.com/docs/wp-content/themes/stays/libs/API365/API365.php on line 28