Warning: foreach() argument must be of type array|object, string given in /home/.sites/196/site7668212/web/wp-content/themes/diverci/inc/class-controller-diversci.php on line 141 Warning: Undefined array key "tax_query" in /home/.sites/196/site7668212/web/wp-content/themes/diverci/inc/class-controller-diversci.php on line 148 Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/.sites/196/site7668212/web/wp-content/themes/diverci/inc/class-controller-diversci.php:148 Stack trace: #0 /home/.sites/196/site7668212/web/wp-content/themes/diverci/inc/class-controller-diversci.php(148): count(NULL) #1 /home/.sites/196/site7668212/web/wp-includes/rest-api/class-wp-rest-server.php(1177): Diversci\Diversci_Controller->get_resource(Object(WP_REST_Request)) #2 /home/.sites/196/site7668212/web/wp-includes/rest-api/class-wp-rest-server.php(1024): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/diversci/v1/re...', Array, NULL) #3 /home/.sites/196/site7668212/web/wp-includes/rest-api.php(535): WP_REST_Server->dispatch(Object(WP_REST_Request)) #4 /home/.sites/196/site7668212/web/wp-content/themes/diverci/inc/diversci-functions.php(47): rest_do_request(Object(WP_REST_Request)) #5 /home/.sites/196/site7668212/web/wp-content/themes/diverci/page-resource.php(14): diversci_request('resources', Array, 'POST') #6 /home/.sites/196/site7668212/web/wp-includes/template-loader.php(106): include('/home/.sites/19...') #7 /home/.sites/196/site7668212/web/wp-blog-header.php(19): require_once('/home/.sites/19...') #8 /home/.sites/196/site7668212/web/index.php(17): require('/home/.sites/19...') #9 {main} thrown in /home/.sites/196/site7668212/web/wp-content/themes/diverci/inc/class-controller-diversci.php on line 148