I have a website that has not been getting new content in a while now due to shifted directions. However it keeps getting injected with spam news posts. I have identified the newspaper theme as the root cause. I have updated to newspaper 12 and this is problematic. On pages:
wp_booster error:
td_api_base::mark_used_on_page : a component with the ID: single_template_3 is not set.
/home/x/domains/x.com/private_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
trace
Array
(
[0] => Array
(
[file] => /home/x/domains/x.com/private_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
[line] => 348
[function] => error
[class] => td_util
[type] => ::
[args] => Array
(
[0] => /home/x/domains/x.com/private_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
[1] => td_api_base::mark_used_on_page : a component with the ID: single_template_3 is not set.
)
)
[1] => Array
(
[file] => /home/x/domains/x.com/private_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
[line] => 153
[function] => mark_used_on_page
[class] => td_api_base
[type] => ::
[args] => Array
(
[0] => single_template_3
)
)
[2] => Array
(
[file] => /home/x/domains/x.com/private_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php
[line] => 1451
[function] => get_key
[class] => td_api_base
[type] => ::
[args] => Array
(
[0] => single_template_3
[1] => file
)
)
[3] => Array
(
[file] => /home/x/domains/x.com/private_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php
[line] => 3368
[function] => _get_theme_template
[class] => td_api_single_template
[type] => ::
[args] => Array
(
[0] => single_template_3
[1] => /home/x/domains/x.com/private_html/wp-content/themes/Newspaper/single.php
)
)
[4] => Array
(
[file] => /home/x/domains/x.com/private_html/wp-includes/class-wp-hook.php
[line] => 310
[function] => td_template_include_filter
[args] => Array
(
[0] => /home/x/domains/x.com/private_html/wp-content/themes/Newspaper/single.php
)
)
[5] => Array
(
[file] => /home/x/domains/x.com/private_html/wp-includes/plugin.php
[line] => 205
[function] => apply_filters
[class] => WP_Hook
[object] => WP_Hook Object
(
[callbacks] => Array
(
[10] => Array
(
[0000000026be53100000000062042ce5] => Array
(
[function] => Closure Object
(
[parameter] => Array
(
[$template] =>
)
)
[accepted_args] => 1
)
[tdb_on_template_include] => Array
(
[function] => tdb_on_template_include
[accepted_args] => 1
)
[td_template_include_filter] => Array
(
[function] => td_template_include_filter
[accepted_args] => 1
)
)
[99] => Array
(
[tdc_template_include] => Array
(
[function] => tdc_template_include
[accepted_args] => 1
)
)
)
[iterations:WP_Hook:private] => Array
(
[0] => Array
(
[0] => 10
[1] => 99
)
)
[current_priority:WP_Hook:private] => Array
(
[0] => 10
)
[nesting_level:WP_Hook:private] => 1
[doing_action:WP_Hook:private] =>
)
[type] => ->
[args] => Array
(
[0] => /home/x/domains/x.com/private_html/wp-content/themes/Newspaper/single.php
[1] => Array
(
[0] => /home/x/domains/x.com/private_html/wp-content/themes/Newspaper/single.php
)
)
)
[6] => Array
(
[file] => /home/x/domains/x.com/private_html/wp-includes/template-loader.php
[line] => 104
[function] => apply_filters
[args] => Array
(
[0] => template_include
[1] => /home/x/domains/x.com/private_html/wp-content/themes/Newspaper/single.php
)
)
)
How do I fix this error (other than disabling the composer plugin, which breaks the main menu).
Hi,
Please activate the tagdiv standard pack plugin and clear the cache.
Please downgrade wordpress to version 6.0 using this plugin https://wordpress.org/plugins/wp-downgrade/ after the update, the wordpress to 6.3.2 There are more files infected with malware.
Also, please check this topic https://forum.tagdiv.com/topic/update-required-newspaper-12-1-1-brings-extra-security/
Thank you!
Whoops I did a new search and found a fix:
https://forum.tagdiv.com/topic/wp_booster-error-45/
I had to install and activate something called standard pack. Thanks @anamaria.