Version 1.2 causing fatal error in Pages/Posts Libraries
-
Hi,
Love Understrap – but upgrading to new version 1.2 causes a fatal error when trying to display Post/Pages Libraries:
Post Library:
Fatal error: Uncaught Error: Call to undefined function understrap_get_select_control_class() in /homepages/12/d770347590/htdocs/beta/wp-content/themes/understrap/inc/widgets.php:44 Stack trace: #0 /homepages/12/d770347590/htdocs/beta/wp-includes/class-wp-hook.php(308): understrap_add_block_widget_categories_class(‘<select name=’…’, Array) #1 /homepages/12/d770347590/htdocs/beta/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘<select name=’…’, Array) #2 /homepages/12/d770347590/htdocs/beta/wp-includes/category-template.php(479): apply_filters(‘wp_dropdown_cat…’, ‘<select name=’…’, Array) #3 /homepages/12/d770347590/htdocs/beta/wp-admin/includes/class-wp-posts-list-table.php(491): wp_dropdown_categories(Array) #4 /homepages/12/d770347590/htdocs/beta/wp-admin/includes/class-wp-posts-list-table.php(571): WP_Posts_List_Table->categories_dropdown(‘post’) #5 /homepages/12/d770347590/htdocs/beta/wp-admin/includes/class-wp-list-table.php(1419): WP_Posts_List_Table->extra_tablenav(‘top’) #6 /homepages/12/d770347590/htdocs/beta/wp-admin/includes/class-wp-list-table.php(1353): WP_List_Table->display_tablenav(‘top’) #7 /homepages/12/d770347590/htdocs/beta/wp-admin/edit.php(487): WP_List_Table->display() #8 {main} thrown in /homepages/12/d770347590/htdocs/beta/wp-content/themes/understrap/inc/widgets.php on line 44Pages Library:
Fatal error: Uncaught Error: Call to undefined function understrap_get_select_control_class() in /homepages/12/d770347590/htdocs/beta/wp-content/themes/understrap/inc/widgets.php:44 Stack trace: #0 /homepages/12/d770347590/htdocs/beta/wp-includes/class-wp-hook.php(308): understrap_add_block_widget_categories_class(‘<select name=’…’, Array) #1 /homepages/12/d770347590/htdocs/beta/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘<select name=’…’, Array) #2 /homepages/12/d770347590/htdocs/beta/wp-includes/category-template.php(479): apply_filters(‘wp_dropdown_cat…’, ‘<select name=’…’, Array) #3 /homepages/12/d770347590/htdocs/beta/wp-admin/includes/class-wp-posts-list-table.php(491): wp_dropdown_categories(Array) #4 /homepages/12/d770347590/htdocs/beta/wp-admin/includes/class-wp-posts-list-table.php(571): WP_Posts_List_Table->categories_dropdown(‘page’) #5 /homepages/12/d770347590/htdocs/beta/wp-admin/includes/class-wp-list-table.php(1419): WP_Posts_List_Table->extra_tablenav(‘top’) #6 /homepages/12/d770347590/htdocs/beta/wp-admin/includes/class-wp-list-table.php(1353): WP_List_Table->display_tablenav(‘top’) #7 /homepages/12/d770347590/htdocs/beta/wp-admin/edit.php(487): WP_List_Table->display() #8 {main} thrown in /homepages/12/d770347590/htdocs/beta/wp-content/themes/understrap/inc/widgets.php on line 44Replacing widgets.php in new version with the equivalent from previous 1.0 version takes the fatal error away.
Best Wishes
- The topic ‘Version 1.2 causing fatal error in Pages/Posts Libraries’ is closed to new replies.