Hi,
I have problems after the new newspaper update. The homepage is corrupt and I see the following error messsage:
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: tdc_state is not set.
/homepages/35/d524401877/htdocs/test/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
wp booster error:
Missing parameter: ‘file’
/homepages/35/d524401877/htdocs/test/wp-content/themes/Newspaper/includes/wp_booster/td_autoload_classes.php
Fatal error: Uncaught Error: Class ‘tdc_state’ not found in /homepages/35/d524401877/htdocs/test/wp-content/themes/Newspaper/includes/shortcodes/td_block_text_with_title.php:53 Stack trace: #0 /homepages/35/d524401877/htdocs/test/wp-content/themes/Newspaper/includes/wp_booster/td_block_widget.php(408): td_block_text_with_title->render(Array, ‘<p><iframe widt…’) #1 /homepages/35/d524401877/htdocs/test/wp-includes/class-wp-widget.php(395): td_block_widget->widget(Array, Array) #2 /homepages/35/d524401877/htdocs/test/wp-includes/widgets.php(738): WP_Widget->display_callback(Array, Array) #3 /homepages/35/d524401877/htdocs/test/wp-content/plugins/js_composer/include/templates/shortcodes/vc_widget_sidebar.php(27): dynamic_sidebar(‘td-home-sidebar…’) #4 /homepages/35/d524401877/htdocs/test/wp-content/plugins/js_composer/include/classes/shortcodes/shortcodes.php(473): include(‘/homepages/35/d…’) #5 /homepages/35/d524401877/htdocs/test/wp-content/plugins/js_composer/include/classes/shortcodes/shortcodes.php(453): WPBakerySh in /homepages/35/d524401877/htdocs/test/wp-content/themes/Newspaper/includes/shortcodes/td_block_text_with_title.php on line 53
Can you help?
Thx, Johannes
Hi,
The error is displayed when you are not using the tagDiv composer editor. A solution would be to edit one of your theme files. Please copy the code provided here
– https://pastebin.com/kwhQw4NT
Then edit the td_block_text_with_title.php file from your theme (Newspaper/includes/shortcodes/td_block_text_with_title.php)
And replace all the found code with the one provided
– https://www.screencast.com/t/XziIqPVDEhbG
Then the error will not be displayed anymore, when the tagDiv composer is deactivated. We are sorry for any inconvenience this has caused for you. Please let us know if you have further problems.
Thank you!
@TutoDS If you use Visual composer deactivate the tagDiv composer, then your post should display the same as before. The tagDiv composer will be automatically activated when the theme is updated or installed
– https://www.screencast.com/t/BBRqsaRkx