Fatal Error: Call to undefined function understrap_get_select_control_class()
-
Hi Understrap Team,
I am experiencing a fatal error when accessing the “Posts” page in the WordPress admin panel. Here are the details:
Error Message:
Fatal error: Uncaught Error: Call to undefined function understrap_get_select_control_class() in /wp-content/themes/understrap/inc/widgets.php:44
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): understrap_add_block_widget_categories_class(‘<select name=’…’, Array)
#1 /wp-includes/plugin.php(205): WP_Hook->apply_filters(‘<select name=’…’, Array)
…Steps to Reproduce:
- Log in to the WordPress admin panel.
- Go to “Posts”.
- The page crashes with the fatal error.
Environment:
- WordPress version: 6.7.2
- Understrap version: 1.2.4
- PHP version: 7.4.33 (planning to upgrade to 8.1 soon)
- No recent updates to Understrap or new plugins installed
Temporary Fix:
I commented out the following line in/inc/widgets.php
(line 44):
// $class = understrap_get_select_control_class();
After this, the “Posts” page loads fine, but I assume this is not the correct solution.Question:
Wasunderstrap_get_select_control_class()
removed in a recent update, or is it missing in my installation?
Any guidance on how to properly resolve this would be greatly appreciated.Thanks for your help!
- You must be logged in to reply to this topic.