- TutorialstagDiv Social Counter Tutorial
When i activating plugin like ” tagDiv Cloud Library”, “tagDiv Composer” and ” tagDiv Standard Pack”.
My hosting CPU uses and Menory uses reaching 100% use and then my website is showing 503 error.
Please help me to solve this issue.
Hello,
We are using the following TagDiv short code in the Classic Editor
[gallery td_select_gallery_slide="slide" size="large" link="file" ids="472210,472208,472206,472204,472202,472200,472197,472195,472193,472191,472189,472187"]
The Fatal Error that is appearing is
[18-Mar-2025 17:47:56 UTC] PHP Fatal error: Uncaught ErrorException: td_js_buffer::add_to_footer - the header JS was already rendered when you called td_js_buffer::add_to_footer() (ex: was called to late) in /code/wp-content/plugins/td-composer/legacy/common/wp_booster/td_js_buffer.php:52
Stack trace:
#0 /code/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php(2357): td_js_buffer::add_to_footer('\r\n\t\t\t\r\n ...')
#1 /code/wp-includes/class-wp-hook.php(324): td_gallery_shortcode('', Array, 3)
#2 /code/wp-includes/plugin.php(205): WP_Hook->apply_filters('', Array)
#3 /code/wp-includes/media.php(2703): apply_filters('post_gallery', '', Array, 3)
#4 /code/wp-includes/shortcodes.php(434): gallery_shortcode(Array, '', 'gallery')
#5 /code/wp-includes/media.php(5232): do_shortcode_tag(Array)
#6 /code/wp-includes/media.php(5367): get_post_galleries(Object(WP_Post), false)
#7 /code/wp-includes/media.php(5409): get_post_gallery(Object(WP_Post), false)
#8 /code/wp-content/plugins/wordpress-seo/src/helpers/image-helper.php(182): get_post_gallery_images(Object(WP_Post))
#9 /code/wp-content/plugins/wordpress-seo/src/builders/indexable-post-builder.php(372): Yoast\WP\SEO\Helpers\Image_Helper->get_gallery_image(472224)
#10 /code/wp-content/plugins/wordpress-seo/src/builders/indexable-social-image-trait.php(145): Yoast\WP\SEO\Builders\Indexable_Post_Builder->find_alternative_image(Object(Yoast\WP\SEO\Models\Indexable))
#11 /code/wp-content/plugins/wordpress-seo/src/builders/indexable-post-builder.php(157): Yoast\WP\SEO\Builders\Indexable_Post_Builder->handle_social_images(Object(Yoast\WP\SEO\Models\Indexable))
#12 /code/wp-content/plugins/wordpress-seo/src/builders/indexable-builder.php(329): Yoast\WP\SEO\Builders\Indexable_Post_Builder->build(472224, Object(Yoast\WP\SEO\Models\Indexable))
#13 /code/wp-content/plugins/wordpress-seo/src/builders/indexable-builder.php(195): Yoast\WP\SEO\Builders\Indexable_Builder->build(Object(Yoast\WP\SEO\Models\Indexable), Array)
#14 /code/wp-content/plugins/wordpress-seo/src/repositories/indexable-repository.php(338): Yoast\WP\SEO\Builders\Indexable_Builder->build_for_id_and_type(472224, 'post')
#15 /code/wp-content/plugins/wordpress-seo/src/repositories/indexable-repository.php(117): Yoast\WP\SEO\Repositories\Indexable_Repository->find_by_id_and_type(472224, 'post')
#16 /code/wp-content/plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php(184): Yoast\WP\SEO\Repositories\Indexable_Repository->for_current_page()
#17 /code/wp-content/plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php(830): WPSEO_Admin_Bar_Menu->get_current_indexable()
#18 /code/wp-content/plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php(780): WPSEO_Admin_Bar_Menu->get_score_icon()
#19 /code/wp-content/plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php(366): WPSEO_Admin_Bar_Menu->get_post_score(Object(WP_Post))
#20 /code/wp-content/plugins/wordpress-seo/inc/class-wpseo-admin-bar-menu.php(211): WPSEO_Admin_Bar_Menu->add_root_menu(Object(WP_Admin_Bar))
#21 /code/wp-includes/class-wp-hook.php(324): WPSEO_Admin_Bar_Menu->add_menu(Object(WP_Admin_Bar))
#22 /code/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#23 /code/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#24 /code/wp-includes/admin-bar.php(97): do_action_ref_array('admin_bar_menu', Array)
#25 /code/wp-includes/class-wp-hook.php(324): wp_admin_bar_render('')
#26 /code/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#27 /code/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#28 /code/wp-includes/general-template.php(3080): do_action('wp_footer')
#29 /code/wp-content/plugins/td-composer/legacy/Newspaper/footer.php(324): wp_footer()
#30 /code/wp-content/plugins/td-composer/td-composer.php(262): require_once('/code/wp-conten...')
#31 /code/wp-includes/class-wp-hook.php(324): {closure}('')
#32 /code/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#33 /code/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#34 /code/wp-content/themes/Newspaper/footer.php(2): do_action('tdc_footer')
#35 /code/wp-includes/template.php(810): require_once('/code/wp-conten...')
#36 /code/wp-includes/template.php(745): load_template('/code/wp-conten...', true, Array)
#37 /code/wp-includes/general-template.php(92): locate_template(Array, true, true, Array)
#38 /code/wp-content/plugins/td-cloud-library/wp_templates/tdb_view_single.php(235): get_footer()
#39 /code/wp-includes/template-loader.php(106): include('/code/wp-conten...')
#40 /code/wp-blog-header.php(19): require_once('/code/wp-includ...')
#41 /code/index.php(17): require('/code/wp-blog-h...')
#42 {main}
thrown in /code/wp-content/plugins/td-composer/legacy/common/wp_booster/td_js_buffer.php on line 52
I have confirmed that when Yoast is disabled the gallery works as intended, but with it enabled, the fatal error persists. If I change the shortcode to standard WordPress gallery it works, so it specific to the td_select_gallery_slide=”slide” gallery.
I am not sure if this is a specific TagDiv issue that can be fixed or if this is a Yoast issue that I need to bring up with them.
Thank you in advance.
Thank you very much for your answer. So, just to understand correctly, only the themes with PRO in their name are available in cloud library?
-
This reply was modified 1 year by
alexwbr.
Hello!
Of course. By using the responsive version or mobile page, you can edit your mobile viewport and add the shortcode called Mobile menu: https://app.screencast.com/PKN1tAHAq5Okq
Then, you should select a menu from the shortcode’s settings.
We recommend using cloud/PRO templates to have the possibility to edit them with the TagDiv Composer, which contains a lot of functions and features; please check our tutorial here: https://forum.tagdiv.com/tagdiv-composer-tutorial/
More documentation about the cloud templates is here:
– https://forum.tagdiv.com/cloud-library-templates/
– https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
– https://forum.tagdiv.com/cloud-library-category-templates/
About pages here: https://forum.tagdiv.com/page-templates-2/ -> https://forum.tagdiv.com/homepage-how-to-build-and-set-it/
Check out this video about how to create a website from scratch: https://www.youtube.com/watch?v=SoGQ0d5kIBg
Thank you!
Hello!
You can build a menu with the categories and subcategories you want to display, and using a cloud template, you can add the shortcode List Menu to the sidebar.
You can build a sidebar with the TagDiv Composer. Steps:
1. Insert one new row (or delete an existing one).
2. Divide into two columns (2/3 + 1/3).
3. You can add whatever element you want from the tagdiv Composer to the second column and consider it a sidebar
Thank you!
Hello,
We seem to be having an issue where the category templates are begin displayed in the post feed and we can not seem to remove them or understand why they are being pulled into the post loop.
https://www.rcrwireless.com/category/webinars/page/2
Category Template – Cloud RAN Deep Dive
Seeing quite a few threads relating to Composer errors lately. I’ve now got one.
Recently moved my (perfectly operating) site from SiteGround to Cloudways and changed nothing, other than adding their caching plugin. But the site has been plagued by problems with the WP admin hanging, sometimes for minutes at at time.
A tech staff reviewed the error logs and found repeated instances this:
NOTICE: PHP message: PHP Warning: Undefined array key “class” in /var/www/html/public_h tml/wp-content/plugins/td-composer/legacy/common/wp_booster/td_metabox_genera
tor.php on line 62
The front end doesn’t seem affected . Only admin, paricularly when opening media library or prevewing.
Site: DaveTheRaveBangkok.com
1) If we are using the Cloud Templates, so can we deactivate and delete the Standard Pack?
2) Can we use a single license of Newspaper theme on multiple personal websites?
Hello!
The Standard Pack plugin is required for default templates and the tagdiv Cloud Library is required for cloud templates. We recommend using cloud/PRO templates to have the possibility to edit them with the TagDiv Composer, which contains a lot of functions and features; please check our tutorial here: https://forum.tagdiv.com/tagdiv-composer-tutorial/
More documentation about the cloud templates is here:
– https://forum.tagdiv.com/cloud-library-templates/
– https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
– https://forum.tagdiv.com/cloud-library-category-templates/
About pages here: https://forum.tagdiv.com/page-templates-2/ -> https://forum.tagdiv.com/homepage-how-to-build-and-set-it/
Check out this video about how to create a website from scratch: https://www.youtube.com/watch?v=SoGQ0d5kIBg
Thank you!
Is the Cloud Library plugin required to be installed if we are using Standard Pack plugin?
Hello!
A code in your frontend appears only when you have a plugin uninstalled, when it should be installed, so instead of the code, it will display the element from that plugin. Check in Newspaper -> Plugins. Make sure that the tagdiv plugins are installed and activated. You should have the social counter, standard pack, cloud library active.
Thank you!
Hello!
Using a cloud category template, you can edit it with the tagdiv composer, check the image settings from the Category Background Image shortcode. If you upload an image smaller than your size from settings, then this could appear blurry and not of high quality. I suggest you upload the images in your Media Library in full size (1920 px): https://prnt.sc/YzxtrT24bGKM
Thank you!
Hello Dimitri!
You can not edit a default template with the tagdiv Composer. I was talking about cloud templates and events.
Thank you!
Hello Dimitri!
Unfortunately, we have not integrated the Event Calendar with cloud templates, so you can not display all the event information.
Thank you!
Hi Bettina,
Yes, I use the Events Calendar Pro plugin (https://theeventscalendar.com/products/wordpress-events-calendar/) to create my events and the problem is that in the CPT I see everything (event category etc.) BUT the events themselves. Why can’t I see the events in the cloud templates overview? https://ibb.co/V07sy37B
Thanks,
Dimitri
Hello!
You can go to the Dashboard -> Add new page, give it a name, and press the blue button edit with the tagdiv Composer. From here you will be able to customize it. Also, you can edit the page template you’ve created in a new tab and copy paste the element in your page edited with the tagdiv Composer(Click on the row right-click -> copy, go to the page click on the empty row, right-click ->paste.) Also, you can save elements and find them on the left side, where you can add any new element with the name you set (refresh page).
Unfortunately, the page template is different than the other templates. You can not set it as global.
More documentation about the cloud templates is here:
– https://forum.tagdiv.com/cloud-library-templates/
– https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/
– https://forum.tagdiv.com/cloud-library-category-templates/
About pages here: https://forum.tagdiv.com/page-templates-2/ -> https://forum.tagdiv.com/homepage-how-to-build-and-set-it/
Check out this video about how to create a website from scratch: https://www.youtube.com/watch?v=SoGQ0d5kIBg
Thank you!
Hello Vunt!
If you use a cloud template, you can edit it with the tagdiv Composer and delete that element. Otherwise, for default templates, there is an option in the theme panel settings: https://app.screencast.com/ogRXFHiglVjo5
Thank you!
Hello Dimitri!
Did you use any extra plugin to create your events? If they are CPTs, should you see them in the Cloud Templates -> CPT/Taxonomies and choose a cloud template for them.
Thank you!
Hello. I’m using the newspaper theme.
I created a Page Template in Cloud Templates.
When creating a page, I want to use a Page Template to automatically insert breadcrumb and title.
https://postimg.cc/vgtWjyxY
But… I can’t apply that template to the page.
I can’t even select the template I created in the Page Template settings of the Newspaper Theme Panel.
(Newpaper > Theme panel > Template Settings > Page template )
https://postimg.cc/v1RfZTW8
How can I do it? Please help me… Thanks.
Hey,
I have the following issue that I described in this loom video: https://www.loom.com/share/b08487d8aaad4105958c5166a4f717d5?sid=e75a75ad-68e1-4120-badf-1a436b397d8d
Here is the link to an event page: https://urban-digital.de/veranstaltung/webinar-digital-zukunftsfaehige-kommunen-ohne-vergabehuerden-zu-digitalen-loesungen/
How can I solve this problem?
Thanks,
Dimitri
Hello!
Do you want to use the Woocommerce templates? Unfortunately, the brand feature from our theme is working with cloud templates and our tagdiv shop plugin.
Thank you!
Hello!
Go to the Cloud Templates -> CPT/Taxonomies and set a template as global.
Thank you!
I have multiple CPTs and cannot find a way to set a default post template for each of them.
Hello!
If you change the colors on elements from a single post template, or any type of customizable page (category, homepage, author, search, & more) it will override the global settings made in the Theme Panel. For cloud templates, check this guide: https://forum.tagdiv.com/tagdiv-composer-website-manager/
Thank you!
Hi,
1. From Cloud Templates > Single templates, I created a Single Template called Single Template – Bateaux-Actus.
This is a duplicate of a previously created Single Template.
2. Single Post Next Prev has been added, and I’ve checked the Display posts from the same category box.
3. In one post, I’ve edited the primary category and switched the template to the one I just created.
Issue: Single Post Next Prev displays the old primary category.
Please help.