Hello everyone,
I’m experiencing a critical issue with the Newspaper theme (version 12.6.6) on my WordPress site (here). The problem only occurs on WooCommerce category and product pages and persists even after deactivating all plugins except for the following:
tagDiv Cloud Library
tagDiv Composer
tagDiv Mobile Theme
WooCommerce
I installed the las versions of all plugins.
When accessing a WooCommerce category page, I encounter the following fatal error:
Fatal error: Uncaught ErrorException: td_js_buffer::add_to_header – the header JS was already rendered when you called td_js_buffer::add_to_header() (ex: was called to late) in /home/trempld/www/wp-content/plugins/td-composer/legacy/common/wp_booster/td_js_buffer.php:23
Stack trace:
#0 /home/trempld/www/wp-content/plugins/td-composer/legacy/common/wp_booster/td_js_generator.php(233): td_js_buffer::add_to_header(‘ \r\n\r\n\t va…’)
#1 /home/trempld/www/wp-includes/class-wp-hook.php(324): td_js_generator(”)
#2 /home/trempld/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#3 /home/trempld/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /home/trempld/www/wp-includes/general-template.php(3050): do_action(‘wp_head’)
#5 /home/trempld/www/wp-includes/template-canvas.php(17): wp_head()
#6 /home/trempld/www/wp-content/plugins/woocommerce/src/Internal/ComingSoon/ComingSoonRequestHandler.php(69): include(‘/home/trempld/w…’)
#7 /home/trempld/www/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\ComingSoon\ComingSoonRequestHandler->handle_template_include(‘/home/trempld/w…’)
#8 /home/trempld/www/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘/home/trempld/w…’, Array)
#9 /home/trempld/www/wp-includes/template-loader.php(104): apply_filters(‘template_includ…’, ‘/home/trempld/w…’)
#10 /home/trempld/www/wp-blog-header.php(19): require_once(‘/home/trempld/w…’)
#11 /home/trempld/www/index.php(17): require(‘/home/trempld/w…’)
#12 {main}
thrown in /home/trempld/www/wp-content/plugins/td-composer/legacy/common/wp_booster/td_js_buffer.php on line 23
I would greatly appreciate your assistance in resolving this issue. Please let me know if you need any additional information or if there are any specific troubleshooting steps I should take.
Thank you for your help.
Hello!
Please deactivate all the non-tested plugins with our theme before updating.
Update WordPress, PHP, the theme, and plugins to the latest version: https://forum.tagdiv.com/how-to-update-the-theme-2/
If the problem is still there, then please contact us via email at contact@tagdiv.com and provide the following:
– admin url and credentials
– a link to this topic in order to identify you
Thank you!