Fatal Error when trying to access widget area
-
Hi!
Thank you very much for this plugin – it’s a joy to use.
However, when trying to access sidebar settings (Design > Widgets) we get the following error. We are using latest version, but have been having this bug with older versions as well.
Any idea how we can fix this?
Fatal error: Uncaught Error: Call to a member function hasTOCItems() on null in /website/wp-content/plugins/easy-table-of-contents/includes/class.widget-toc.php:155 Stack trace: #0 /website/wp-includes/class-wp-widget.php(380): ezTOC_Widget->widget(Array, Array) #1 /website/wp-content/plugins/gutenberg/lib/class-wp-rest-widgets-controller.php(538): WP_Widget->display_callback(Array, Array) #2 /website/wp-content/plugins/gutenberg/lib/class-wp-rest-widgets-controller.php(110): WP_REST_Widgets_Controller->prepare_item_for_response(Array, Object(WP_REST_Request)) #3 /website/wp-includes/rest-api/class-wp-rest-server.php(1160): WP_REST_Widgets_Controller->get_items(Object(WP_REST_Request)) #4 /website/wp-includes/rest-api/class-wp-rest-server.php(1007): WP_REST_Server->respond_to_request(Object(WP_REST_Request), '/wp/v2/widge in /website/wp-content/plugins/easy-table-of-contents/includes/class.widget-toc.php on line 155
- The topic ‘Fatal Error when trying to access widget area’ is closed to new replies.