Fatal error after update
-
I currently have HT Mega version 2.7.9 and have been unable to update it for some months.
I got the below stack trace when I tried the update June 15.
I currently have Content Control version 2.6.5 and WordPress version 6.8.2.
PHP Fatal error: Uncaught Error: Call to a member function using_index_permalinks() on null in /public_html/wp-includes/rest-api.php:469
Stack trace:
#0 /public_html/wp-includes/rest-api.php(532): get_rest_url()
#1 /public_html/wp-content/plugins/content-control/inc/functions/compatibility.php(61): rest_url()
#2 /public_html/wp-content/plugins/content-control/inc/functions/compatibility.php(78): ContentControl\{closure}()
#3 /public_html/wp-content/plugins/content-control/classes/Controllers/RestAPI.php(115): ContentControl\is_rest()
#4 /public_html/wp-content/plugins/content-control/classes/Controllers/RestAPI.php(78): ContentControl\Controllers\RestAPI->force_show_in_rest()
#5 /public_html/wp-content/plugins/content-control/classes/Controllers/RestAPI.php(54): ContentControl\Controllers\RestAPI->modify_type_force_show_in_rest()
#6 /public_html/wp-includes/class-wp-hook.php(326): ContentControl\Controllers\RestAPI->modify_post_type_show_in_rest()
#7 /public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#8 /public_html/wp-includes/class-wp-post-type.php(491): apply_filters()
#9 /public_html/wp-includes/class-wp-post-type.php(467): WP_Post_Type->set_props()
#10 /public_html/wp-includes/post.php(1805): WP_Post_Type->**construct()
#11 /public_html/wp-content/plugins/ht-mega-for-elementor/admin/include/class.theme-builder.php(72): register_post_type()
#12 /public_html/wp-content/plugins/ht-mega-for-elementor/admin/include/class.theme-builder.php(28): HTMega_Theme_Builder->register_post_type_args()
#13 /public_html/wp-content/plugins/ht-mega-for-elementor/admin/include/class.theme-builder.php(18): HTMega_Theme_Builder->**construct()
#14 /public_html/wp-content/plugins/ht-mega-for-elementor/admin/include/class.theme-builder.php(715): HTMega_Theme_Builder::instance()
#15 /public_html/wp-content/plugins/ht-mega-for-elementor/includes/class.htmega.php(120): require_once('/home/u29312570...')
#16 /public_html/wp-content/plugins/ht-mega-for-elementor/includes/class.htmega.php(87): HTMega_Addons_Elementor->load_template_manager()
#17 /public_html/wp-includes/class-wp-hook.php(324): HTMega_Addons_Elementor->init()
#18 /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#19 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#20 /public_html/wp-settings.php(555): do_action()
#21 /public_html/wp-config.php(91): require_once('/home/u29312570...')
#22 /public_html/wp-load.php(50): require_once('/home/u29312570...')
#23 /public_html/wp-admin/admin-ajax.php(22): require_once('/home/u29312570...')
#24 {main}
thrown in /public_html/wp-includes/rest-api.php on line 469
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Fatal error after update’ is closed to new replies.