Warning: Attempt to read property "roles" on bool in C:\inetpub\vhosts\pinhigh.dk\httpdocs\pinhigh-files\changestate.php on line 30

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in C:\inetpub\vhosts\pinhigh.dk\httpdocs\pinhigh-files\changestate.php:35 Stack trace: #0 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-content\plugins\code-snippets\php\front-end\class-frontend.php(248) : eval()'d code(4): require() #1 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-content\plugins\code-snippets\php\front-end\class-frontend.php(248): eval() #2 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-content\plugins\code-snippets\php\front-end\class-frontend.php(311): Code_Snippets\Frontend->evaluate_shortcode_content() #3 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-includes\shortcodes.php(434): Code_Snippets\Frontend->render_content_shortcode() #4 [internal function]: do_shortcode_tag() #5 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-includes\shortcodes.php(273): preg_replace_callback() #6 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-content\plugins\elementor\includes\base\widget-base.php(452): do_shortcode() #7 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-content\plugins\elementor\includes\widgets\text-editor.php(475): Elementor\Widget_Base->parse_text_editor() #8 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-content\plugins\elementor\includes\base\controls-stack.php(2325): Elementor\Widget_Text_Editor->render() #9 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-content\plugins\elementor\includes\base\widget-base.php(635): Elementor\Controls_Stack->render_by_mode() #10 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-content\plugins\elementor\includes\base\widget-base.php(776): Elementor\Widget_Base->render_content() #11 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-content\plugins\elementor\includes\base\element-base.php(483): Elementor\Widget_Base->print_content() #12 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-content\plugins\elementor\includes\base\element-base.php(1443): Elementor\Element_Base->print_element() #13 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-content\plugins\elementor\includes\base\element-base.php(483): Elementor\Element_Base->print_content() #14 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-content\plugins\elementor\core\base\document.php(1874): Elementor\Element_Base->print_element() #15 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-content\plugins\elementor\core\base\document.php(1799): Elementor\Core\Base\Document->do_print_elements() #16 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-content\plugins\elementor\core\base\document.php(1200): Elementor\Core\Base\Document->print_elements() #17 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-content\plugins\elementor\includes\frontend.php(1190): Elementor\Core\Base\Document->print_elements_with_wrapper() #18 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-content\plugins\elementor\includes\frontend.php(1085): Elementor\Frontend->get_builder_content() #19 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-includes\class-wp-hook.php(324): Elementor\Frontend->apply_builder_in_content() #20 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-includes\plugin.php(205): WP_Hook->apply_filters() #21 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-includes\post-template.php(256): apply_filters() #22 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-content\themes\hello-elementor\template-parts\single.php(25): the_content() #23 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-includes\template.php(812): require('...') #24 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-includes\template.php(745): load_template() #25 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-includes\general-template.php(206): locate_template() #26 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-content\themes\hello-elementor\index.php(21): get_template_part() #27 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-includes\template-loader.php(106): include('...') #28 C:\inetpub\vhosts\pinhigh.dk\httpdocs\wp-blog-header.php(19): require_once('...') #29 C:\inetpub\vhosts\pinhigh.dk\httpdocs\index.php(17): require('...') #30 {main} thrown in C:\inetpub\vhosts\pinhigh.dk\httpdocs\pinhigh-files\changestate.php on line 35