- TutorialstagDiv Social Counter Tutorial
I would add that I don’t get the problem in the 404 template. Changing its type doesn’t erase it from the Cloud Templates list, like it does for the Page Templates.
So something in how you are processing the template (and template list) for Pages is different.
Hi TagDiv Team,
Like some other users, I’m consistently getting the following error when editing new pages or the homepage (but not posts): Error at zones: 6(models): 0(dom) “The model does not match the content. Current state has involved an issue.”
This even happens immediately after I download one of your pre-built templates—even before adding any shortcodes.
What I discovered:
After some testing, I found that if I use the “Post Type Switcher” plugin to change the page type (in the Classic Editor) from Page → Cloud Template, the error in Composer disappears completely!
Once I do that:
I can edit the page in Composer without any errors.
The layout works as expected.
However:
The page is then removed from the Cloud Template list, since it’s technically no longer a “Page” it is a Cloud Template type.
It only displays properly if I access it through a URL like
https://example.com/tdb_templates/news
If I try to access it normally at https://example.com/news, I either get a blank page or a critical error.
My theory
It seems that posts don’t trigger this error because the Theme Panel → Templates section includes a redirect or link definition for posts and single templates. That likely ensures TagDiv Composer initializes the correct “zone” mapping.
For pages and the homepage, there’s no equivalent setting in the Theme Panel, so Composer may be loading the wrong internal model—hence the zone mismatch.
The problem
At the moment, I can’t create or edit any new pages or homepage layouts without this error.
Only posts work normally.
Possible solution idea
If my guess is right, perhaps the Composer needs a way to assign a Cloud Template mapping (like the Post templates) for Pages and Homepage in the Theme Panel. That might resolve the zone mismatch entirely.
Do you have any other workaround or insight on this?
It’s currently blocking all new page and homepage creation.
Thanks for your help!
Hello tagDiv Support Team,
I am building a generic Taxonomy Archive Template using the tagDiv Cloud Library/Composer. This template is assigned to a Custom Taxonomy (e.g., prompts) and needs to load correctly for all terms within that taxonomy (e.g., /prompts/term-A, /prompts/term-B, etc.).
My goal is to display content in two separate Flex Blocks, each filtered by the current taxonomy term AND a specific Category ID.
1. Goal (Desired Query Logic):
I need to enforce the following AND logic within each Flex Block, dynamically, without hardcoding the current Taxonomy Term ID:
Section 1 (Text Posts): Posts must belong to (Current Taxonomy Term) AND (Category ID 87).
Section 2 (Image Posts): Posts must belong to (Current Taxonomy Term) AND (Category ID 88).
2. Current Setup (Flex Block Filter Settings):
I am using a Flex Block and configuring the Filter tab as follows (for Section 1, Category ID 87):
Category filter: Taxonomy – Current (Used to inherit the current term)
Multiple terms filter: 87 (Hardcoded ID of the specific category)
Posts(cpts) must belong to all terms: Checked (Intended to force the AND logic)
3. Issue/Failure Point:
Despite setting the Posts(cpts) must belong to all terms checkbox, the Flex Block query is incorrectly executed.
Observed Result: The block is showing posts that belong to Category ID 87 but are associated with OTHER, unrelated taxonomies or terms outside of the current archive page.
Example: When viewing /prompts/term-A, the block is showing posts tagged with Category ID 87, but whose main taxonomy term is from a different, unrelated taxonomy (e.g., from the guides taxonomy or another custom taxonomy).
4. Request:
Could you please advise on the correct combination of settings within the tagDiv Flex Block or provide a precise workaround to generate a strict, generic WP_Query that enforces the dynamic (Current Taxonomy Term) AND (Specific Category ID) relationship?
If this combination is not possible via the standard UI, please provide a filter or shortcode parameter that achieves this specific tax_query requirement.
Thank you for your time and assistance!
Hi there,
we came across this issue:
Installing wpml:
– in the template overview as written in your tutorial it works fine BUT
– the cloud template overview does not load correctly with the languages
– the cloud templates wont load correctly in theme panel when you try to give the translated categories the correct translated cloud template.
We made a fix and now it works.
If you guys are interested write an e-mail and I’ll share the code (not sure if you want code in the forum).
Maybe you can then look for a lasting solution.
Here a summary what it does:
Summary: What the Plugin Does
Problem it solves:
When you switch languages in WPML, tagDiv’s Cloud Templates Library and Theme Panel don’t update – they keep showing templates from the wrong language because they use their own cached language setting.
How it fixes it:
1. Client-Side (JavaScript):
Intercepts all HTTP requests (AJAX, Fetch API, XMLHttpRequest) made by tagDiv
Automatically adds the current WPML language parameter (lang=en or lang=de) to every request
Sets language cookies that tagDiv reads (wpml_lang, _icl_current_language)
This ensures tagDiv’s JavaScript always requests templates in the correct language
2. Server-Side (PHP):
Forces WPML to use the language from the URL parameter (?lang=en)
Switches WPML context during AJAX requests so WordPress queries return content in the right language
Filters template metadata to ensure the correct translated templates are loaded
In simple terms:
The plugin acts as a “translator” between WPML and tagDiv, making sure they both agree on which language is currently active. It catches every request tagDiv makes and stamps it with the correct language code before it reaches the server.
Result:
✅ Cloud Templates Library shows correct language templates
✅ Theme Panel dropdowns show correct language templates
✅ Language switching works immediately without page refresh issues
Cheers.
Hello after updating toNewspaper to 12.7.3 my whole Template including header background image and logo an all settings where crasht. My Site came up with a complete new lauyout and I did not find my old settings in my Theme Panel.
Is it the intention that only cloud templates are available? I actually use a child theme to prevent this, but it probably has something to do with the Tagdiv Composer settings.In any case, my homepage became just a news list without all the layouts and texts selected in the TAGDiv Composer and using tagdiv Standard Pack
Hi, hope you can check this.
Vulnerability issue.
Cross Site Scripting (XSS)
vulnerability discovered by
João Pedro S Alcântara
(Kinorth) in WordPress Plugin
tagDiv Cloud Library
(versions < 3.9.2)
tagDiv Cloud Library vulnerability issue
tagDiv Cloud Library vulnerability issue
Any update?
Thanks in advance.
Hello,
i wanna edit cloud template single post to make Single Post Content larger. but dont know how to make it?
https://ibb.co/DfhdknDD
Hi,
The version passed was incorrect. Patchstack confirmed that Newspaper v12.7.3 and tabDiv Cloud Library v3.9.2 and confirmed that it is fixed.
The fix is in 3.9.2 https://patchstack.com/database/wordpress/plugin/td-cloud-library https://patchstack.com/database/wordpress/plugin/td-cloud-library/vulnerability/wordpress-tagdiv-cloud-library-plugin-3-9-cross-site-scripting-xss-vulnerability
Thank you!
On my category pages, this error appears at the top of the browser window:
Warning: Undefined array key “tdb_templates” in /home3/macropho/public_html/blog/wp-content/plugins/td-cloud-library/includes/tdb_functions.php on line 659
The error was resolved after deactivating the WPML plugin. Is the Newspaper incompatible with the plugin? I really need the WPML plugin to make the site multilingual.
Sometimes the site doesn’t show the mobile template on some articles.
I created a second Cloud Template for mobile posts.
Sometimes it works, sometimes it doesn’t.
Resaving the mobile template seems to force it for a short while to use the mobile version, but then it stops.
Hi,
I’m using an older template that doesn’t have cloud templates enabled. I want to change font size on mobile for the single posts, but I can’t find a way to do that. The site is https://1001ideja.si/
What is the best way to approach this?
Thank you for your help.
WordPress Plugin Vulnerabilities
tagDiv Cloud Library < 4.0 – Authenticated (Contributor+) Stored Cross-Site Scripting
Description
The tagDiv Cloud Library plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 3.9 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Affects Plugins
Plugin icon
td-cloud-library
Fixed in 4.0
https://wpscan.com/vulnerability/0ecaeb97-4f67-4e79-bea8-9c9a6ab7add3/
hello guys,
i developing a news site with your theme: https://wordpress-919309-5834713.cloudwaysapps.com/
i set some posts on relative taxonomy (Economia, Industria, Istituzioni) but both home block and details page (you can open from nav menu) did not show them.
Can you help me to fix this problem pls?
Hi,
I believe that when you updated the theme, the theme plugins were not updated. Please connect to the website and go to Newspaper > plugins and install from there the theme plugins you were using (I believe are tagDiv Composer, tagDiv Cloud Library, and maybe tagDiv Standard pack).
Thank you!
At the moment, the only available option we have to address that particular issue is using Google recaptcha.
However, if you’re looking for an alternative, we recommend trying cloudflare Turnstile: https://www.cloudflare.com/application-services/products/turnstile/ (I understand you’ve already tried it, and normally it should do the job).
Thanks for your understanding!
Hi,
To set a page to full width (or a cloud template), you’ll need to edit it with tagDiv Composer like this -> https://i.imgur.com/i5IUJ9E.jpg add or select a row and stretch it after your needs -> https://i.imgur.com/WKYebPX.jpg -> https://i.imgur.com/TO1BZ3M.png -> https://i.imgur.com/Yq8UCv3.jpg
If you want to make the layout full-width, then to change the website width, you need to make sure that you don’t have set a background color/image in the Theme Panel, because this makes your website boxed. Make sure this option is disabled => https://www.screencast.com/t/ejiNPCBF
Thank you!
Hi,
It appers taht the last chnages on your homepage made this situation. most of the time the problem is from a shortcode that is not compatible with our theme or a plugin conflict, therefore after you set it with tagDiv Composer and save the page/cloud template, the next time when you try to edit it, you’ll get that error.
If is only for one page or a cloud template (it can be on the header or footer, you can change them for tests and see if the problem persists), this is from some settings/shortcodes set on it and it can be fixed using the page revision https://wordpress.com/support/page-post-revisions/
if the situation persists, make a full backup and contact us via email at contact@tagdiv.com and provide wp-admin access. We’ll check it as soon as we can.
Thank you!
Hi,
If you are using a cloud header, you can use tagDiv Composer to edit the live search. In the General tab, if you scroll down, you will see the search form settings – https://i.imgur.com/bi4nphM.png
I hope this helps, if not, please provide a link to your website and some screenshots, I will try to recreate it and provide a better solution.
Thanks!
When I go to the search page gives me this error
Fatal error: Uncaught TypeError: Cannot access offset of type array on string in /usr/www/users/hurawa/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php:1196 Stack trace: #0 /usr/www/users/hurawa/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php(340): td_util::get_template_id() #1 /usr/www/users/hurawa/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php(513): td_util::check_header() #2 /usr/www/users/hurawa/wp-includes/class-wp-hook.php(324): td_load_css_fonts() #3 /usr/www/users/hurawa/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /usr/www/users/hurawa/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /usr/www/users/hurawa/wp-includes/script-loader.php(2299): do_action() #6 /usr/www/users/hurawa/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts() #7 /usr/www/users/hurawa/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #8 /usr/www/users/hurawa/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /usr/www/users/hurawa/wp-includes/general-template.php(3192): do_action() #10 /usr/www/users/hurawa/wp-content/plugins/td-composer/legacy/Newspaper/header.php(8): wp_head() #11 /usr/www/users/hurawa/wp-content/plugins/td-composer/td-composer.php(254): require_once(‘/usr/www/users/…’) #12 /usr/www/users/hurawa/wp-includes/class-wp-hook.php(324): {closure}() #13 /usr/www/users/hurawa/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #14 /usr/www/users/hurawa/wp-includes/plugin.php(517): WP_Hook->do_action() #15 /usr/www/users/hurawa/wp-content/themes/Newspaper/header.php(2): do_action() #16 /usr/www/users/hurawa/wp-includes/template.php(810): require_once(‘/usr/www/users/…’) #17 /usr/www/users/hurawa/wp-includes/template.php(745): load_template() #18 /usr/www/users/hurawa/wp-includes/general-template.php(48): locate_template() #19 /usr/www/users/hurawa/wp-content/plugins/td-cloud-library/wp_templates/tdb_view_search.php(8): get_header() #20 /usr/www/users/hurawa/wp-includes/template-loader.php(106): include(‘/usr/www/users/…’) #21 /usr/www/users/hurawa/wp-blog-header.php(19): require_once(‘/usr/www/users/…’) #22 /usr/www/users/hurawa/index.php(17): require(‘/usr/www/users/…’) #23 {main} thrown in /usr/www/users/hurawa/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 1196
Hello! When I enter a search term, the live ajax is working but if I press enter it returns a fatal error.
How can I reset this function on the theme?
The site is nordsip.com and here is the error returned by Query Monitor:
Uncaught Error: Illegal offset type
in /home/nordsipc/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 1196
Call stack:
td_util::get_template_id(WP_Post)
wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php:340
td_util::check_header()
wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php:513
td_load_css_fonts(”)
wp-includes/class-wp-hook.php:324
WP_Hook::apply_filters(NULL, array)
wp-includes/class-wp-hook.php:348
WP_Hook::do_action(array)
wp-includes/plugin.php:517
do_action(‘wp_enqueue_scripts’)
wp-includes/script-loader.php:2299
wp_enqueue_scripts(”)
wp-includes/class-wp-hook.php:324
WP_Hook::apply_filters(NULL, array)
wp-includes/class-wp-hook.php:348
WP_Hook::do_action(array)
wp-includes/plugin.php:517
do_action(‘wp_head’)
wp-includes/general-template.php:3192
wp_head()
wp-content/plugins/td-composer/legacy/Newspaper/header.php:8
require_once(‘/home/nordsipc/publi…Newspaper/header.php’)
wp-content/plugins/td-composer/td-composer.php:254
{closure}(”)
wp-includes/class-wp-hook.php:324
WP_Hook::apply_filters(”, array)
wp-includes/class-wp-hook.php:348
WP_Hook::do_action(array)
wp-includes/plugin.php:517
do_action(‘tdc_header’)
wp-content/themes/Newspaper/header.php:2
require_once(‘/home/nordsipc/publi…Newspaper/header.php’)
wp-includes/template.php:810
load_template(‘/home/nordsipc/publi…Newspaper/header.php’, true, array)
wp-includes/template.php:745
locate_template(array, true, true, array)
wp-includes/general-template.php:48
get_header()
wp-content/plugins/td-cloud-library/wp_templates/tdb_view_search.php:8
include(‘/home/nordsipc/publi…/tdb_view_search.php’)
wp-includes/template-loader.php:106
require_once(‘/home/nordsipc/publi…/template-loader.php’)
wp-blog-header.php:19
require(‘/home/nordsipc/public_html/wp-blog-header.php’)
index.php:17
Hi,
If I’m right you are using the default template and not the cloud one – please select the cloud one as global – https://i.imgur.com/KjDiH3f.png should be green like this one – https://i.imgur.com/IZHBiDo.png
Thank you!
Hello,
If you want to revert to a header version, then go to the Cloud template and hover over the “Header Template – Trucking” header and click on edit – https://i.imgur.com/eHODxuB.png, then use a revision from here – https://i.imgur.com/ELdLSEG.png
This should help you get back the header as it was before editing it.
Thank you!
I have noticed a problem with the theme.
I have configured the Woocommerce product page on Cloud Template.
I select the Shop page on Cloud Template.
From the Shop page, I open the Woo product templates page.
I configure the product by adding social sharing, favourite product, and TAG.
I save the page.
These configurations are not visible in the product.
Can you check why this is happening?
Document screenshot https://drive.google.com/file/d/1Sbvt3s-LzCM_-JEwFNuxwOJTPd3k8otd/view?usp=sharing
Hello,
I’m using the Newspaper theme on my website Godt Drikke (https://godtdrikke.net), and I have an issue I haven’t been able to resolve.
At the bottom of every article, an old event announcement still appears:
🎄 Juletrefest for voksne – 15. November at Radisson Blu Tromsø
Kl. 12:00–16:30 | Billetter: 400 kr (eks. avgift)
🎟️ KJØP BILLETT HER
I’ve checked and tried the following without success:
Removed it from Menus (including Footer Menu and all menu locations)
Checked Widgets (Footer 1–4, Bottom Bar, After Article, etc.)
Inspected Cloud Templates (both Footer and Single Post templates)
Looked through Theme Panel → Ads / Custom Code
Confirmed it’s not inside the article content (Block Editor)
Despite all of this, the text still appears below every article, right above the “Share this” section.
Could you please help identify where in the Newspaper setup this global content block is located, and how to remove or disable it permanently?
Ideally, I’d like to:
Remove the event announcement entirely
Keep the rest of the footer intact
Thank you in advance for your help — this has been very hard to track down.
Best regards,
Vidar Pedersen
Editor, Godt Drikke
https://godtdrikke.net
I apologize for this inconvenience,
I understand what you are saying and that for you that ajax end point is exposed is a bug, but unfortunately for the moment there are only 2 solutions, use google recaptcha or comment that line of code on each theme update.
I have sent a notification to the developers if they can also implement cloudflare as recaptcha for that ajax end point.