I have some custom pages which load from a separate directory under WordPress, but with any version of the NewsMag theme beyond 5.4.1 I get error messages on those pages, caused by the TagDiv Composer plugin.
wp_booster error:
td_api_base::mark_used_on_page : a component with the ID: td_res_context is not set.
C:\wamp64\www\sacc_stage\wp-content\plugins\td-composer\legacy\common\wp_booster\td_api.php
I am happy to adjust my code in those directories to avoid the error, if you could please suggest what might be causing it or how to avoid it.
Thanks.
Hi,
Do you use the social counter? I see that the message is related to a code that should be used on social counter – https://i.imgur.com/ZVNHlEu.png what you can try is to comment the code inside the function and see if the problem persist.
Thank you!
Thanks for your response. That does remove that error message, but I’m still getting wp_booster error:
Missing parameter: ‘file’
C:\wamp64\www\sacc_stage\wp-content\plugins\td-composer\legacy\common\wp_booster\td_autoload_classes.php
I can post the full backtrace if that will help?
I appreciate your help. It’s only this update that is causing this, as I said at the top, this code has worked for years with no issues.
Here’s the backtrace:
Array
(
[0] => Array
(
[file] => C:\wamp64\www\sacc_stage\wp-content\plugins\td-composer\legacy\common\wp_booster\td_autoload_classes.php
[line] => 45
[function] => error
[class] => td_util
[type] => ::
[args] => Array
(
[0] => C:\wamp64\www\sacc_stage\wp-content\plugins\td-composer\legacy\common\wp_booster\td_autoload_classes.php
[1] => Missing parameter: ‘file’
)
)
[1] => Array
(
[file] => C:\wamp64\www\sacc_stage\wp-content\plugins\td-composer\legacy\common\wp_booster\td_js_generator.php
[line] => 243
[function] => loading_classes
[class] => td_autoload_classes
[object] => td_autoload_classes Object
(
)
[type] => ->
[args] => Array
(
[0] => td_res_context
)
)
[2] => Array
(
[file] => C:\wamp64\www\sacc_stage\wp-includes\class-wp-hook.php
[line] => 324
[function] => {closure}
[args] => Array
(
[0] =>
)
)
[3] => Array
(
[file] => C:\wamp64\www\sacc_stage\wp-includes\class-wp-hook.php
[line] => 348
[function] => apply_filters
[class] => WP_Hook
[object] => WP_Hook Object
(
[callbacks] => Array
(
[1] => Array
(
[wp_enqueue_global_styles] => Array
(
[function] => wp_enqueue_global_styles
[accepted_args] => 1
)
[wp_enqueue_stored_styles] => Array
(
[function] => wp_enqueue_stored_styles
[accepted_args] => 1
)
[wp_maybe_inline_styles] => Array
(
[function] => wp_maybe_inline_styles
[accepted_args] => 1
)
)
[9] => Array
(
[00000000000025050000000000000000load_modal_content] => Array
(
[function] => Array
(
[0] => um\frontend\Modal Object
(
)
[1] => load_modal_content
)
[accepted_args] => 1
)
)
[10] => Array
(
[the_block_template_skip_link] => Array
(
[function] => the_block_template_skip_link
[accepted_args] => 1
)
[WP_Duotone::output_footer_assets] => Array
(
[function] => Array
(
[0] => WP_Duotone
[1] => output_footer_assets
)
[accepted_args] => 1
)
[um_force_admin_bar] => Array
(
[function] => um_force_admin_bar
[accepted_args] => 1
)
[000000000000226c0000000000000000load_scripts] => Array
(
[function] => Array
(
[0] => MC4WP_Form_Asset_Manager Object
(
[load_scripts:MC4WP_Form_Asset_Manager:private] =>
)
[1] => load_scripts
)
[accepted_args] => 1
)
[00000000000021ad0000000000000000] => Array
(
[function] => Closure Object
(
)
[accepted_args] => 1
)
[td_more_article_box::on_wp_footer_render_box] => Array
(
[function] => Array
(
[0] => td_more_article_box
[1] => on_wp_footer_render_box
)
[accepted_args] => 1
)
[td_bottom_code] => Array
(
[function] => td_bottom_code
[accepted_args] => 1
)
[00000000000025d70000000000000000print_import_map] => Array
(
[function] => Array
(
[0] => WP_Script_Modules Object
(
[registered:WP_Script_Modules:private] => Array
(
)
[enqueued_before_registered:WP_Script_Modules:private] => Array
(
)
)
[1] => print_import_map
)
[accepted_args] => 1
)
[00000000000025d70000000000000000print_enqueued_script_modules] => Array
(
[function] => Array
(
[0] => WP_Script_Modules Object
(
[registered:WP_Script_Modules:private] => Array
(
)
[enqueued_before_registered:WP_Script_Modules:private] => Array
(
)
)
[1] => print_enqueued_script_modules
)
[accepted_args] => 1
)
[00000000000025d70000000000000000print_script_module_preloads] => Array
(
[function] => Array
(
[0] => WP_Script_Modules Object
(
[registered:WP_Script_Modules:private] => Array
(
)
[enqueued_before_registered:WP_Script_Modules:private] => Array
(
)
)
[1] => print_script_module_preloads
)
[accepted_args] => 1
)
[00000000000025d80000000000000000print_client_interactivity_data] => Array
(
[function] => Array
(
[0] => WP_Interactivity_API Object
(
[state_data:WP_Interactivity_API:private] => Array
(
)
[config_data:WP_Interactivity_API:private] => Array
(
)
[has_processed_router_region:WP_Interactivity_API:private] =>
[namespace_stack:WP_Interactivity_API:private] =>
[context_stack:WP_Interactivity_API:private] =>
)
[1] => print_client_interactivity_data
)
[accepted_args] => 1
)
[00000000000025b80000000000000000aiowps_footer_content] => Array
(
[function] => Array
(
[0] => AIO_WP_Security Object
(
[version] => 5.3.3
[db_version] => 2.0.10
[firewall_version] => 1.0.8
[plugin_url] => http://saccstage/wp-content/plugins/all-in-one-wp-security-and-firewall
[plugin_path] => C:\wamp64\www\sacc_stage\wp-content\plugins\all-in-one-wp-security-and-firewall
[configs] => AIOWPSecurity_Config Object
(
[configs] => Array
(
[aiowps_enable_debug] =>
[aiowps_remove_wp_generator_meta_info] =>
[aiowps_prevent_hotlinking] =>
[aiowps_enable_login_lockdown] => 1
[aiowps_allow_unlock_requests] =>
[aiowps_max_login_attempts] => 6
[aiowps_retry_time_period] => 30
[aiowps_lockout_time_length] => 600
[aiowps_set_generic_login_msg] =>
[aiowps_enable_email_notify] =>
[aiowps_email_address] => admin@email
[aiowps_enable_forced_logout] =>
[aiowps_logout_time_period] => 60
[aiowps_enable_invalid_username_lockdown] =>
[aiowps_instantly_lockout_specific_usernames] => Array
(
)
[aiowps_unlock_request_secret_key] => he44fklfiqc9bxqebnc1
[aiowps_enable_whitelisting] =>
[aiowps_allowed_ip_addresses] =>
[aiowps_enable_login_captcha] => 1
[aiowps_enable_custom_login_captcha] => 1
[aiowps_captcha_secret_key] => a5dhg18kkgcvpo9lgnws
[aiowps_enable_manual_registration_approval] =>
[aiowps_enable_registration_page_captcha] =>
[aiowps_enable_random_prefix] =>
[aiowps_enable_automated_backups] =>
[aiowps_db_backup_frequency] => 4
[aiowps_db_backup_interval] => 2
[aiowps_backup_files_stored] => 2
[aiowps_send_backup_email_address] =>
[aiowps_backup_email_address] => admin@email
[aiowps_disable_file_editing] =>
[aiowps_prevent_default_wp_file_access] =>
[aiowps_system_log_file] => error_log
[aiowps_enable_blacklisting] =>
[aiowps_banned_ip_addresses] => 77.72.82.146
[aiowps_enable_basic_firewall] => 1
[aiowps_disable_xmlrpc_pingback_methods] =>
[aiowps_block_debug_log_file_access] =>
[aiowps_disable_index_views] => 1
[aiowps_disable_trace_and_track] =>
[aiowps_enable_5g_firewall] =>
[aiowps_enable_6g_firewall] =>
[aiowps_enable_custom_rules] =>
[aiowps_custom_rules] =>
[aiowps_enable_404_logging] => 1
[aiowps_enable_404_IP_lockout] => 1
[aiowps_404_lockout_time_length] => 60
[aiowps_404_lock_redirect_url] => http://127.0.0.1
[aiowps_enable_rename_login_page] =>
[aiowps_enable_login_honeypot] => 1
[aiowps_enable_brute_force_attack_prevention] =>
[aiowps_brute_force_secret_word] => apricotsoup
[aiowps_cookie_brute_test] => aiowps_cookie_test_m6mpx7twx5
[aiowps_cookie_based_brute_force_redirect_url] => http://127.0.0.1
[aiowps_brute_force_attack_prevention_pw_protected_exception] =>
[aiowps_brute_force_attack_prevention_ajax_exception] => 1
[aiowps_site_lockout] =>
[aiowps_site_lockout_msg] => This site is currently undergoing maintenance. It will be back up and running in less than 30 mins.
Apologies for any inconvenience.
[aiowps_enable_spambot_blocking] => 1
[aiowps_enable_comment_captcha] => 1
[aiowps_enable_autoblock_spam_ip] => 1
[aiowps_spam_ip_min_comments_block] => 3
[aiowps_enable_automated_fcd_scan] => 1
[aiowps_fcd_scan_frequency] => 4
[aiowps_fcd_scan_interval] => 2
[aiowps_fcd_exclude_filetypes] =>
[aiowps_fcd_exclude_files] =>
[aiowps_send_fcd_scan_email] =>
[aiowps_fcd_scan_email_address] => admin@email
[aiowps_fcds_change_detected] => 1
[aiowps_copy_protection] =>
[aiowps_prevent_site_display_inside_frame] =>
[aiowps_prevent_users_enumeration] => 1
[aiowps_block_fake_googlebots] => 1
[aiowps_enable_lost_password_captcha] => 1
[aiowps_lockdown_enable_whitelisting] =>
[aiowps_lockdown_allowed_ip_addresses] =>
[aiowps_enable_registration_honeypot] =>
[aiowps_enable_woo_login_captcha] =>
[aiowps_enable_woo_register_captcha] =>
[aiowps_place_custom_rules_at_top] =>
[aiowps_enable_bp_register_captcha] =>
[aiowps_enable_bbp_new_topic_captcha] =>
[aiowps_ip_retrieve_method] => 0
[aiowps_disallow_unauthorized_rest_requests] =>
[aiowps_banned_user_agents] =>
[aiowps_login_page_slug] => apricot_soup
[aiowps_fcd_filename] => aiowps_fcd_data_wrfyn99cfp
[aiowps_last_fcd_scan_time] => 1727465861
[aiowps_enable_woo_lostpassword_captcha] =>
[aiowps_max_file_upload_size] => 10
[aiowps_recaptcha_site_key] => 6LcccWAUAAAAAHYXBQdxmOVd1TuRiSAmW_Pr0jrX
[aiowps_recaptcha_secret_key] => 6LcccWAUAAAAAH4WDiAedzGBe__JQVO9ogVeyFi9
[aiowps_default_recaptcha] =>
[aiowps_cookie_test_success] => 1
[installed-at] => 1650534420
[dismissdashnotice] => 1715511900
[aiowps_enable_php_backtrace_in_email] =>
[aiowps_max_lockout_time_length] => 60
[aiowps_disable_application_password] => 1
[aiowps_enable_trash_spam_comments] =>
[aiowps_trash_spam_comments_after_days] => 14
[aiowps_on_uninstall_delete_db_tables] => 1
[aiowps_on_uninstall_delete_configs] => 1
[aiowps_default_captcha] => google-recaptcha-v2
[aiowps_disable_rss_and_atom_feeds] =>
[aiowps_turnstile_site_key] =>
[aiowps_turnstile_secret_key] =>
[aiowps_enable_spambot_detecting] => 1
[aiowps_spam_comments_should] => 0
[aiowps_enable_contact_form_7_captcha] =>
[aiowps_auto_delete_default_wp_files] =>
)
)
[notices] =>
[admin_init] =>
[debug_logger] => AIOWPSecurity_Logger Object
(
[debug_enabled:AIOWPSecurity_Logger:private] =>
[debug_readable_level:AIOWPSecurity_Logger:private] => Array
(
[0] => SUCCESS
[1] => STATUS
[2] => NOTICE
[3] => WARNING
[4] => FAILURE
[5] => CRITICAL
)
)
[cron_handler] => AIOWPSecurity_Cronjob_Handler Object
(
)
[user_login_obj] => AIOWPSecurity_User_Login Object
(
[key_login_msg] => aiowps_login_msg_id
)
[user_registration_obj] => AIOWPSecurity_User_Registration Object
(
)
[scan_obj] => AIOWPSecurity_Scan Object
(
)
[captcha_obj] => AIOWPSecurity_Captcha Object
(
[cloudflare_verify_turnstile_url:AIOWPSecurity_Captcha:private] => https://challenges.cloudflare.com/turnstile/v0/siteverify
[google_verify_recaptcha_url:AIOWPSecurity_Captcha:private] => https://www.google.com/recaptcha/api/siteverify
)
[cleanup_obj] => AIOWPSecurity_Cleanup Object
(
)
[is_admin_dashboard_page] =>
[is_plugin_admin_page] =>
[is_aiowps_admin_page] =>
[is_aiowps_google_recaptcha_tab_page] =>
)
[1] => aiowps_footer_content
)
[accepted_args] => 1
)
)
[20] => Array
(
[wp_print_footer_scripts] => Array
(
[function] => wp_print_footer_scripts
[accepted_args] => 1
)
)
[40] => Array
(
[td_footer_script_code] => Array
(
[function] => td_footer_script_code
[accepted_args] => 1
)
)
[99] => Array
(
[000000000000234c0000000000000000run_replace] => Array
(
[function] => Array
(
[0] => Wplmi\Core\Frontend\PostView Object
(
)
[1] => run_replace
)
[accepted_args] => 1
)
)
[100] => Array
(
[td_add_js_typekit] => Array
(
[function] => td_add_js_typekit
[accepted_args] => 1
)
[td_js_buffer_footer_render] => Array
(
[function] => td_js_buffer_footer_render
[accepted_args] => 1
)
)
[1000] => Array
(
[wp_admin_bar_render] => Array
(
[function] => wp_admin_bar_render
[accepted_args] => 1
)
[00000000000025520000000000000000add_cookie_notice] => Array
(
[function] => Array
(
[0] => Cookie_Notice_Frontend Object
(
[compliance:Cookie_Notice_Frontend:private] =>
)
[1] => add_cookie_notice
)
[accepted_args] => 1
)
)
[100000] => Array
(
[tdc_on_live_css_inject_editor] => Array
(
[function] => tdc_on_live_css_inject_editor
[accepted_args] => 1
)
)
[99999999999999999] => Array
(
[um_add_form_honeypot_js] => Array
(
[function] => um_add_form_honeypot_js
[accepted_args] => 1
)
)
)
[priorities:protected] => Array
(
[0] => 1
[1] => 9
[2] => 10
[3] => 20
[4] => 40
[5] => 99
[6] => 100
[7] => 1000
[8] => 100000
[9] => 99999999999999999
)
[iterations:WP_Hook:private] => Array
(
[0] => Array
(
[0] => 1
[1] => 9
[2] => 10
[3] => 20
[4] => 40
[5] => 99
[6] => 100
[7] => 1000
[8] => 100000
[9] => 99999999999999999
)
)
[current_priority:WP_Hook:private] => Array
(
[0] => 10
)
[nesting_level:WP_Hook:private] => 1
[doing_action:WP_Hook:private] => 1
)
[type] => ->
[args] => Array
(
[0] =>
[1] => Array
(
[0] =>
)
)
)
[4] => Array
(
[file] => C:\wamp64\www\sacc_stage\wp-includes\plugin.php
[line] => 517
[function] => do_action
[class] => WP_Hook
[object] => WP_Hook Object
(
[callbacks] => Array
(
[1] => Array
(
[wp_enqueue_global_styles] => Array
(
[function] => wp_enqueue_global_styles
[accepted_args] => 1
)
[wp_enqueue_stored_styles] => Array
(
[function] => wp_enqueue_stored_styles
[accepted_args] => 1
)
[wp_maybe_inline_styles] => Array
(
[function] => wp_maybe_inline_styles
[accepted_args] => 1
)
)
[9] => Array
(
[00000000000025050000000000000000load_modal_content] => Array
(
[function] => Array
(
[0] => um\frontend\Modal Object
(
)
[1] => load_modal_content
)
[accepted_args] => 1
)
)
[10] => Array
(
[the_block_template_skip_link] => Array
(
[function] => the_block_template_skip_link
[accepted_args] => 1
)
[WP_Duotone::output_footer_assets] => Array
(
[function] => Array
(
[0] => WP_Duotone
[1] => output_footer_assets
)
[accepted_args] => 1
)
[um_force_admin_bar] => Array
(
[function] => um_force_admin_bar
[accepted_args] => 1
)
[000000000000226c0000000000000000load_scripts] => Array
(
[function] => Array
(
[0] => MC4WP_Form_Asset_Manager Object
(
[load_scripts:MC4WP_Form_Asset_Manager:private] =>
)
[1] => load_scripts
)
[accepted_args] => 1
)
[00000000000021ad0000000000000000] => Array
(
[function] => Closure Object
(
)
[accepted_args] => 1
)
[td_more_article_box::on_wp_footer_render_box] => Array
(
[function] => Array
(
[0] => td_more_article_box
[1] => on_wp_footer_render_box
)
[accepted_args] => 1
)
[td_bottom_code] => Array
(
[function] => td_bottom_code
[accepted_args] => 1
)
[00000000000025d70000000000000000print_import_map] => Array
(
[function] => Array
(
[0] => WP_Script_Modules Object
(
[registered:WP_Script_Modules:private] => Array
(
)
[enqueued_before_registered:WP_Script_Modules:private] => Array
(
)
)
[1] => print_import_map
)
[accepted_args] => 1
)
[00000000000025d70000000000000000print_enqueued_script_modules] => Array
(
[function] => Array
(
[0] => WP_Script_Modules Object
(
[registered:WP_Script_Modules:private] => Array
(
)
[enqueued_before_registered:WP_Script_Modules:private] => Array
(
)
)
[1] => print_enqueued_script_modules
)
[accepted_args] => 1
)
[00000000000025d70000000000000000print_script_module_preloads] => Array
(
[function] => Array
(
[0] => WP_Script_Modules Object
(
[registered:WP_Script_Modules:private] => Array
(
)
[enqueued_before_registered:WP_Script_Modules:private] => Array
(
)
)
[1] => print_script_module_preloads
)
[accepted_args] => 1
)
[00000000000025d80000000000000000print_client_interactivity_data] => Array
(
[function] => Array
(
[0] => WP_Interactivity_API Object
(
[state_data:WP_Interactivity_API:private] => Array
(
)
[config_data:WP_Interactivity_API:private] => Array
(
)
[has_processed_router_region:WP_Interactivity_API:private] =>
[namespace_stack:WP_Interactivity_API:private] =>
[context_stack:WP_Interactivity_API:private] =>
)
[1] => print_client_interactivity_data
)
[accepted_args] => 1
)
[00000000000025b80000000000000000aiowps_footer_content] => Array
(
[function] => Array
(
[0] => AIO_WP_Security Object
(
[version] => 5.3.3
[db_version] => 2.0.10
[firewall_version] => 1.0.8
[plugin_url] => http://saccstage/wp-content/plugins/all-in-one-wp-security-and-firewall
[plugin_path] => C:\wamp64\www\sacc_stage\wp-content\plugins\all-in-one-wp-security-and-firewall
[configs] => AIOWPSecurity_Config Object
(
[configs] => Array
(
[aiowps_enable_debug] =>
[aiowps_remove_wp_generator_meta_info] =>
[aiowps_prevent_hotlinking] =>
[aiowps_enable_login_lockdown] => 1
[aiowps_allow_unlock_requests] =>
[aiowps_max_login_attempts] => 6
[aiowps_retry_time_period] => 30
[aiowps_lockout_time_length] => 600
[aiowps_set_generic_login_msg] =>
[aiowps_enable_email_notify] =>
[aiowps_email_address] => admin@email
[aiowps_enable_forced_logout] =>
[aiowps_logout_time_period] => 60
[aiowps_enable_invalid_username_lockdown] =>
[aiowps_instantly_lockout_specific_usernames] => Array
(
)
[aiowps_unlock_request_secret_key] => he44fklfiqc9bxqebnc1
[aiowps_enable_whitelisting] =>
[aiowps_allowed_ip_addresses] =>
[aiowps_enable_login_captcha] => 1
[aiowps_enable_custom_login_captcha] => 1
[aiowps_captcha_secret_key] => a5dhg18kkgcvpo9lgnws
[aiowps_enable_manual_registration_approval] =>
[aiowps_enable_registration_page_captcha] =>
[aiowps_enable_random_prefix] =>
[aiowps_enable_automated_backups] =>
[aiowps_db_backup_frequency] => 4
[aiowps_db_backup_interval] => 2
[aiowps_backup_files_stored] => 2
[aiowps_send_backup_email_address] =>
[aiowps_backup_email_address] => admin@email
[aiowps_disable_file_editing] =>
[aiowps_prevent_default_wp_file_access] =>
[aiowps_system_log_file] => error_log
[aiowps_enable_blacklisting] =>
[aiowps_banned_ip_addresses] => 77.72.82.146
[aiowps_enable_basic_firewall] => 1
[aiowps_disable_xmlrpc_pingback_methods] =>
[aiowps_block_debug_log_file_access] =>
[aiowps_disable_index_views] => 1
[aiowps_disable_trace_and_track] =>
[aiowps_enable_5g_firewall] =>
[aiowps_enable_6g_firewall] =>
[aiowps_enable_custom_rules] =>
[aiowps_custom_rules] =>
[aiowps_enable_404_logging] => 1
[aiowps_enable_404_IP_lockout] => 1
[aiowps_404_lockout_time_length] => 60
[aiowps_404_lock_redirect_url] => http://127.0.0.1
[aiowps_enable_rename_login_page] =>
[aiowps_enable_login_honeypot] => 1
[aiowps_enable_brute_force_attack_prevention] =>
[aiowps_brute_force_secret_word] => apricotsoup
[aiowps_cookie_brute_test] => aiowps_cookie_test_m6mpx7twx5
[aiowps_cookie_based_brute_force_redirect_url] => http://127.0.0.1
[aiowps_brute_force_attack_prevention_pw_protected_exception] =>
[aiowps_brute_force_attack_prevention_ajax_exception] => 1
[aiowps_site_lockout] =>
[aiowps_site_lockout_msg] => This site is currently undergoing maintenance. It will be back up and running in less than 30 mins.
Apologies for any inconvenience.
[aiowps_enable_spambot_blocking] => 1
[aiowps_enable_comment_captcha] => 1
[aiowps_enable_autoblock_spam_ip] => 1
[aiowps_spam_ip_min_comments_block] => 3
[aiowps_enable_automated_fcd_scan] => 1
[aiowps_fcd_scan_frequency] => 4
[aiowps_fcd_scan_interval] => 2
[aiowps_fcd_exclude_filetypes] =>
[aiowps_fcd_exclude_files] =>
[aiowps_send_fcd_scan_email] =>
[aiowps_fcd_scan_email_address] => admin@email
[aiowps_fcds_change_detected] => 1
[aiowps_copy_protection] =>
[aiowps_prevent_site_display_inside_frame] =>
[aiowps_prevent_users_enumeration] => 1
[aiowps_block_fake_googlebots] => 1
[aiowps_enable_lost_password_captcha] => 1
[aiowps_lockdown_enable_whitelisting] =>
[aiowps_lockdown_allowed_ip_addresses] =>
[aiowps_enable_registration_honeypot] =>
[aiowps_enable_woo_login_captcha] =>
[aiowps_enable_woo_register_captcha] =>
[aiowps_place_custom_rules_at_top] =>
[aiowps_enable_bp_register_captcha] =>
[aiowps_enable_bbp_new_topic_captcha] =>
[aiowps_ip_retrieve_method] => 0
[aiowps_disallow_unauthorized_rest_requests] =>
[aiowps_banned_user_agents] =>
[aiowps_login_page_slug] => apricot_soup
[aiowps_fcd_filename] => aiowps_fcd_data_wrfyn99cfp
[aiowps_last_fcd_scan_time] => 1727465861
[aiowps_enable_woo_lostpassword_captcha] =>
[aiowps_max_file_upload_size] => 10
[aiowps_recaptcha_site_key] => 6LcccWAUAAAAAHYXBQdxmOVd1TuRiSAmW_Pr0jrX
[aiowps_recaptcha_secret_key] => 6LcccWAUAAAAAH4WDiAedzGBe__JQVO9ogVeyFi9
[aiowps_default_recaptcha] =>
[aiowps_cookie_test_success] => 1
[installed-at] => 1650534420
[dismissdashnotice] => 1715511900
[aiowps_enable_php_backtrace_in_email] =>
[aiowps_max_lockout_time_length] => 60
[aiowps_disable_application_password] => 1
[aiowps_enable_trash_spam_comments] =>
[aiowps_trash_spam_comments_after_days] => 14
[aiowps_on_uninstall_delete_db_tables] => 1
[aiowps_on_uninstall_delete_configs] => 1
[aiowps_default_captcha] => google-recaptcha-v2
[aiowps_disable_rss_and_atom_feeds] =>
[aiowps_turnstile_site_key] =>
[aiowps_turnstile_secret_key] =>
[aiowps_enable_spambot_detecting] => 1
[aiowps_spam_comments_should] => 0
[aiowps_enable_contact_form_7_captcha] =>
[aiowps_auto_delete_default_wp_files] =>
)
)
[notices] =>
[admin_init] =>
[debug_logger] => AIOWPSecurity_Logger Object
(
[debug_enabled:AIOWPSecurity_Logger:private] =>
[debug_readable_level:AIOWPSecurity_Logger:private] => Array
(
[0] => SUCCESS
[1] => STATUS
[2] => NOTICE
[3] => WARNING
[4] => FAILURE
[5] => CRITICAL
)
)
[cron_handler] => AIOWPSecurity_Cronjob_Handler Object
(
)
[user_login_obj] => AIOWPSecurity_User_Login Object
(
[key_login_msg] => aiowps_login_msg_id
)
[user_registration_obj] => AIOWPSecurity_User_Registration Object
(
)
[scan_obj] => AIOWPSecurity_Scan Object
(
)
[captcha_obj] => AIOWPSecurity_Captcha Object
(
[cloudflare_verify_turnstile_url:AIOWPSecurity_Captcha:private] => https://challenges.cloudflare.com/turnstile/v0/siteverify
[google_verify_recaptcha_url:AIOWPSecurity_Captcha:private] => https://www.google.com/recaptcha/api/siteverify
)
[cleanup_obj] => AIOWPSecurity_Cleanup Object
(
)
[is_admin_dashboard_page] =>
[is_plugin_admin_page] =>
[is_aiowps_admin_page] =>
[is_aiowps_google_recaptcha_tab_page] =>
)
[1] => aiowps_footer_content
)
[accepted_args] => 1
)
)
[20] => Array
(
[wp_print_footer_scripts] => Array
(
[function] => wp_print_footer_scripts
[accepted_args] => 1
)
)
[40] => Array
(
[td_footer_script_code] => Array
(
[function] => td_footer_script_code
[accepted_args] => 1
)
)
[99] => Array
(
[000000000000234c0000000000000000run_replace] => Array
(
[function] => Array
(
[0] => Wplmi\Core\Frontend\PostView Object
(
)
[1] => run_replace
)
[accepted_args] => 1
)
)
[100] => Array
(
[td_add_js_typekit] => Array
(
[function] => td_add_js_typekit
[accepted_args] => 1
)
[td_js_buffer_footer_render] => Array
(
[function] => td_js_buffer_footer_render
[accepted_args] => 1
)
)
[1000] => Array
(
[wp_admin_bar_render] => Array
(
[function] => wp_admin_bar_render
[accepted_args] => 1
)
[00000000000025520000000000000000add_cookie_notice] => Array
(
[function] => Array
(
[0] => Cookie_Notice_Frontend Object
(
[compliance:Cookie_Notice_Frontend:private] =>
)
[1] => add_cookie_notice
)
[accepted_args] => 1
)
)
[100000] => Array
(
[tdc_on_live_css_inject_editor] => Array
(
[function] => tdc_on_live_css_inject_editor
[accepted_args] => 1
)
)
[99999999999999999] => Array
(
[um_add_form_honeypot_js] => Array
(
[function] => um_add_form_honeypot_js
[accepted_args] => 1
)
)
)
[priorities:protected] => Array
(
[0] => 1
[1] => 9
[2] => 10
[3] => 20
[4] => 40
[5] => 99
[6] => 100
[7] => 1000
[8] => 100000
[9] => 99999999999999999
)
[iterations:WP_Hook:private] => Array
(
[0] => Array
(
[0] => 1
[1] => 9
[2] => 10
[3] => 20
[4] => 40
[5] => 99
[6] => 100
[7] => 1000
[8] => 100000
[9] => 99999999999999999
)
)
[current_priority:WP_Hook:private] => Array
(
[0] => 10
)
[nesting_level:WP_Hook:private] => 1
[doing_action:WP_Hook:private] => 1
)
[type] => ->
[args] => Array
(
[0] => Array
(
[0] =>
)
)
)
[5] => Array
(
[file] => C:\wamp64\www\sacc_stage\wp-includes\general-template.php
[line] => 3081
[function] => do_action
[args] => Array
(
[0] => wp_footer
)
)
[6] => Array
(
[file] => C:\wamp64\www\sacc_stage\wp-content\plugins\td-composer\legacy\Newsmag\footer.php
[line] => 66
[function] => wp_footer
[args] => Array
(
)
)
)
-
This reply was modified 1 year by
Stuart R.
Hi,
No, I can say that I’m sure, but most likely the problem you’re facing appeared after the javascript was shared in the theme and made to load in the footer.
Do you have the possibility to create a staging where you can give me access (wp-admin and FTP) and a link to the pages with problems to do an investigation and see if I can change something so that the problem is solved.
If you can provide staging access please contact us via email at contact@tagdiv.com and provide there the access and also include a link to this topic.
Thank you!
Thanks, I’m looking into that and will get back to you.
The javascript is enqued via a custom widget.
I’m almost complete on a workaround which essentially duplicates the footer and sidebar without calling the WordPress functions, but obviously that is less than ideal as I’ll also have to manually replicate any updates. Also, I seem to be losing the admin bar on all the pages sitting in those directories too.
Anyway, thanks for your help so far and I’ll be in touch regarding the staging site and access.
If I disable the custom plugin, and therefore the widget, and call get_footer() I get these php errors, not sure if this helps you?
Fatal error: Uncaught Error: Class “td_res_context” not found in C:\wamp64\www\sacc_stage\wp-content\plugins\td-composer\legacy\common\wp_booster\td_js_generator.php on line 243
( ! ) Error: Class “td_res_context” not found in C:\wamp64\www\sacc_stage\wp-content\plugins\td-composer\legacy\common\wp_booster\td_js_generator.php on line 243
Call Stack
# Time Memory Function Location
1 0.0540 4906192 {main}( ) …\myoffers.php:0
2 1.4868 16790064 include( ‘C:\wamp64\www\sacc_stage\members\includes\core\footer.php ) …\myoffers.php:747
3 1.4868 16790064 get_footer( $name = ???, $args = ??? ) …\footer.php:71
4 1.4868 16790440 locate_template( $template_names = [0 => ‘footer.php’], $load = TRUE, $load_once = TRUE, $args = [] ) …\general-template.php:92
5 1.4869 16790536 load_template( $_template_file = ‘C:\\wamp64\\www\\sacc_stage/wp-content/themes/Newsmag/footer.php’, $load_once = TRUE, $args = [] ) …\template.php:745
6 1.4870 16791024 require_once( ‘C:\wamp64\www\sacc_stage\wp-content\themes\Newsmag\footer.php ) …\template.php:810
7 1.4870 16791024 do_action( $hook_name = ‘tdc_footer’ ) …\footer.php:2
8 1.4870 16791400 WP_Hook->do_action( $args = [0 => ”] ) …\plugin.php:517
9 1.4870 16791400 WP_Hook->apply_filters( $value = ”, $args = [0 => ”] ) …\class-wp-hook.php:348
10 1.4870 16792152 {closure:C:\wamp64\www\sacc_stage\wp-content\plugins\td-composer\td-composer.php:257-263}( ” ) …\class-wp-hook.php:324
11 1.4871 16792680 require_once( ‘C:\wamp64\www\sacc_stage\wp-content\plugins\td-composer\legacy\Newsmag\footer.php ) …\td-composer.php:262
12 1.4913 16963248 wp_footer( ) …\footer.php:66
13 1.4913 16963248 do_action( $hook_name = ‘wp_footer’ ) …\general-template.php:3081
14 1.4913 16963624 WP_Hook->do_action( $args = [0 => ”] ) …\plugin.php:517
15 1.4913 16963624 WP_Hook->apply_filters( $value = ”, $args = [0 => ”] ) …\class-wp-hook.php:348
16 1.4924 16966632 {closure:C:\wamp64\www\sacc_stage\wp-content\plugins\td-composer\legacy\common\wp_booster\td_js_generator.php:242-245}( ” )
Hi, it’s exact the changes I mentioned that has been made in the theme – https://i.imgur.com/cDqqlkm.png
Normally if you are at the last theme version and the code is clean you should not receive that error.
So do I need to pass a value with the get_footer() function call? I am using the latest version, at least on my localhost testing platform, and the code is not producing any other errors. I see the code you’re pointing to, but that doesn’t help me know how to fix it.
I’ve updated on the live site now, and commenting out that function also removes the first error, the wp_booster error:
td_api_base::mark_used_on_page : a component with the ID: td_res_context is not set.
C:\wamp64\www\sacc_stage\wp-content\plugins\td-composer\legacy\common\wp_booster\td_api.php
without me having to comment out the first line you suggested.
So, all good! Thank you so very much for your help.