Conversation
supportI 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
Hi @hermansje , Thank you very much for reaching out, and we’re sorry for the inconvenience caused. This type of update issue is not supposed to happen . We’ve checked across multiple environments but could not reproduce the same problem. It may be caused by a third-party plugin or theme conflict on your setup. To help you more effectively, could you please contact us through our support form here: 👉 https://wphtmega.com/contact/ Our support team will be happy to help you resolve the issue. Best regards, Kamal This reply was modified 8 months ago by kamal025 .
Hi @hermansje , Thank you very much for reaching out, and we’re sorry for the inconvenience caused. This type of update issue is not supposed to happen . We’ve checked across multiple environments but could not reproduce the same problem. It may be caused by a third-party plugin or theme conflict on your setup. To help you more effectively, could you please contact us through our support form here: 👉 https://wphtmega.com/contact/ Our support team will be happy to help you resolve the issue. Best regards, Kamal This reply was modified 8 months ago by kamal025 .