Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /www/wwwroot/theiashub.in/upsc/wp-content/themes/theaishub/functions.php:49
Stack trace:
#0 /www/wwwroot/theiashub.in/upsc/wp-content/themes/theaishub/template-parts/sidebar_enquiry_form.php(1): get_popuplar_courses()
#1 /www/wwwroot/theiashub.in/upsc/wp-includes/template.php(812): require('/www/wwwroot/th...')
#2 /www/wwwroot/theiashub.in/upsc/wp-includes/template.php(745): load_template()
#3 /www/wwwroot/theiashub.in/upsc/wp-includes/general-template.php(206): locate_template()
#4 /www/wwwroot/theiashub.in/upsc/wp-content/themes/theaishub/taxonomy-notes-category.php(130): get_template_part()
#5 /www/wwwroot/theiashub.in/upsc/wp-includes/template-loader.php(106): include('/www/wwwroot/th...')
#6 /www/wwwroot/theiashub.in/upsc/wp-blog-header.php(19): require_once('/www/wwwroot/th...')
#7 /www/wwwroot/theiashub.in/upsc/index.php(17): require('/www/wwwroot/th...')
#8 {main}
thrown in
/www/wwwroot/theiashub.in/upsc/wp-content/themes/theaishub/functions.php on line
49