- NewsmagRequirements for Newsmag
- NewsmagtagDiv Social Counter tutorial
Hello, Unfortunately I don’t know exactly how Polylang works, but if you want to translate a page or a cloud template from one language to another, what needs to be done is a duplicate of that page/template in another language, after which you will have to use tagDiv Composer to change the text and images, because these are not automatically translated and there is no manual translation system like for articles in the original language and the language you want to translate into.
Thank you!
Dear TagDiv Support,
I am writing to report several critical issues affecting the Newspaper theme and its bundled plugin td-cloud-library, which are causing instability and performance problems on my website (europeantimes.news).
After thorough debugging, I’ve identified key areas that require immediate attention from your development team.
🔧 1. Translation Loading Triggered Too Early
Error Message:
“Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ‘td-cloud-library’ domain was triggered too early.”
Location:
tdb_config::on_tdc_loaded() in /wp-content/plugins/td-cloud-library/includes/tdb_config.php
Issue:
The theme loads translation strings before WordPress is fully initialized. According to WordPress Codex , translations should be loaded at the init action or later.
Currently, this causes repeated “doing it wrong” notices and impacts system stability under high load.
Request:
Please ensure all text domains are loaded properly via the init hook:
php
1
2
3
add_action(‘init’, function() {
load_plugin_textdomain(‘td-cloud-library’, false, dirname(plugin_basename(__FILE__)) . ‘/languages’);
});
🔧 2. Deprecated Constructor in Mobile_Detect Class
File:
/wp-content/plugins/td-cloud-library/includes/Mobile_Detect.php
Issue:
The constructor uses outdated syntax that triggers deprecation warnings in modern PHP environments.
This affects compatibility and indicates code maintenance is needed.
Request:
Update the constructor to follow current PHP standards:
php
1
function __construct(?string $userAgent = null, ?array $httpHeaders = null)
🔧 3. Excessive Database Queries Due to Empty Email Lookups
Observed Behavior:
Repeated queries like:
sql
1
SELECT * FROM wp_users WHERE user_email = ‘d41d8cd98f00b204e9800998ecf8427e’
(This is the MD5 hash of an empty string.)
Cause:
Avatar functions call get_user_by(’email’) without validating that the email exists.
Impact:
Unnecessary database load, especially under automation or bot traffic.
Request:
Add validation before querying:
php
1
2
3
if ( ! empty($email) && is_email($email) ) {
$user = get_user_by(’email’, $email);
}
🔧 4. Aggressive Hook Execution Before Initialization
In tdb_config.php, translatable strings are used inside on_tdc_loaded(), which fires before init. This forces premature loading of language files and violates WordPress best practices.
Example Line:
tdb_config::on_tdc_loaded() → calls __() too early
Recommended Fix:
Defer any logic involving translation functions until after the init action.
✅ Environment Summary
Theme: Newspaper (latest version)
Plugin: td-cloud-library (bundled)
WordPress: 6.8.2
Caching: Redis Object Cache + Hummingbird
Traffic Type: High-volume, automated content publishing
🛠 Requested Actions
Please:
Acknowledge these issues
Confirm if fixes are planned in an upcoming release
Provide guidance on running the theme reliably at scale
These are not minor notices — they directly impact performance, scalability, and long-term compatibility with WordPress core.
Thank you for your time and support. I look forward to your response.
Best regards,
Hi,
You’ll have cloud pages and cloud homepages if you import them from cloud – https://i.imgur.com/iTzTpQJ.png, but those will not be templates for pages; they will be pages created with tagDiv Composer. There are no templates for pages. If you have a page and you want to use it on other pages, just duplicate that page and edit it.
Thank you!
Hi,
I’m not sure I understand correctly. Were you using a standard cloud header before, and now a cloud header, or vice versa?
If you had a cloud header before and now you don’t, please go to Newsapper > plugins and install tagDiv Composer, tagDiv Cloud Library and if it was a standard header, install tagDiv Standard pack https://forum.tagdiv.com/tagdiv-cloud-library-plugin/
Thank you!
I use cloudflare as recaptcha i dont want to use google…
the problem that ajax end point is exposed .. for me its a bug you can force to use google recapchta ….
Hi,
The demo you are using has 2 types of headers: one is an overlay over the content, and the other is a normal header. The situation appears to be with the one with an overlay over the content.
If this was edited, you can use a backup for it https://i.imgur.com/GyhjL6k.png, or you can import that header from the cloud https://i.imgur.com/pGhgAbX.png. The situation can appear if it is manually assigned on those templates that is no longer displayed
Thank you!
Hi,
A cloud header will use the file from this path: wp-content/plugins/td-cloud-library/parts/tdb-login-modal.php. Unfortunately, there are no options to overwrite the files from the cloud in the child theme, sorry!
Somehow the header went from tagdiv to cloud template mode. How do I get it back?
Somehow the header went from tagdiv to cloud template mode. How do I get it back?
Olá, tudo bem?
Meus modelos de Homepage templates e Page templates não estão aparecendo no menu Cloud Templates. E não consigo mudar para deixar mais de um template salvo como backup. Preciso de ajuda. Segue imagens em anexo.
Link das imagens:
– Cloud templates sem os modelos (imagem 1): https://conexaobet.com/wp-content/uploads/2025/10/imagem_1.jpg
– Homepage que criei e salvei de backup, mas não aparece mais no cloud template (imagem 2): https://conexaobet.com/wp-content/uploads/2025/10/imagem_2-1.jpg
Observação: A minha Home page foi criada e eu salvei como modelo de template, mas ela sumiu do Cloud Templates. Isso que preciso corrigir.
Hello,
I have a valid license yet I have not received notification of an available update from 12.7.1. My concern are the xxs vulnerabilities related to td-cloud-library and td-composer.
Please advise.
Thank you.
Yes, we are using a cloud header template, but using the standar header login from the tagdiv editor menu.
I’m experiencing severe performance and stability issues with the Newspaper theme and the TagDiv Composer. Even with proper caching enabled — Redis Object Cache plus WP Super Cache — the server load rises very quickly after only a few editing or viewing actions.
My site runs on an Infomaniak CloudServer (4 vCPU, 12 GB RAM), and yet PHP memory usage spikes drastically whenever multiple posts are opened or edited, or just visited by users, which results in 503 and 429 errors.
Additionally, I’ve observed that multiple duplicated MySQL queries are being sent to the database for a single page load, which suggests there’s room for optimization in the theme’s database handling.
I’ve also seen several other users report the same issue with the Newspaper theme after their sites have grown large over time.
Could you please clarify what exact details or logs you need from me to investigate this issue properly?
Once I know what information is required, I can provide it precisely to help you diagnose and resolve the problem.
Thank you,
Hi,
The theme panel settings are only for a part of fonts, you should also check using tagDiv Composer on pages and cloud templates, because those have elements that already have set individual fonts and you need to change them to default or other font – https://forum.tagdiv.com/font-customization/ https://i.imgur.com/ja5JFRT.png
Thank you!
TD composer is sending so many unneeded internal queries to the site that even if having a powerful cloud server, it blocks the access and get tons of 500 and 429 errors
Hi,
You can use the theme builder tagDiv Composer and tagDiv Cloud library and make the website as you like. If you want the block to have an image, title, and some excerpt, after that a read more button, then it can be done. Also, there are pre-built websites that can be installed https://forum.tagdiv.com/installing-demos/
You can see all prebuilt webiste using thsi link – https://demo.tagdiv.com/select_demo/newspaper-prebuilt-websites/?demo-type=pro
Thank you!
Hi ctucker,
If you are using the login module from the standard pack, then you can use the child theme to override it – https://forum.tagdiv.com/the-child-theme-support-tutorial/. Unfortunately, for the cloud, it will not work.
Thank you!
I’d like each post to appear as a clickable container that links to a separate page with more information, rather than a standard blog post showing the title, name, and date. How can I set this up? Is there a cloud-based theme or layout for article cards that would make this easy? Thanks!
I see now that the cloud template has duplicated the Single Post Content (SPC) element below the original, so I hid the second SPC and the TOC to make the site look sensible. Then I tried ticking “On / Off expand table of contents option”. The TOC reappears but with the [hide] function I don’t want.
So currently, I am back to 12.7.2 with duplicated SPC hidden and hide TOC on. I want no duplication and TOC without the hide option, as before.
I’ve written to support on the same matter but the comments here are the most up to date.
Thanks
MG
Hi,
We know WPML might work a bit differently with other themes, but with the Newspaper theme, translations for pages and cloud templates are handled through the built-in TagDiv Composer.
Thanks so much for your understanding, and we’re really sorry for any inconvenience this may cause!
Hi,
Pages can not be saved as templates (as cloud templates for posts, categories …), what can be done is to create a duplicate of the page you want to keep as a template and use it.
We tested only the Elementor free version with our theme; Elementor Pro has not been tested, therefore, we can not say if it is working correctly or not with the theme. Also, if you choose to use another builder other than the theme builder, then it should be used only on new pages, not on those that are already created with the theme builder.
Thank you!
Hi TagDiv Support Team,
after installing the latest TagDiv update, all of my theme settings have been completely wiped out.
My header, footer, and every single design setting stored in the theme are gone. Even the registration and TagDiv-related plugins were reset to zero. It looks like everything connected to TagDiv has been erased.
I’ve managed to manually recreate a basic header and footer for now, but it’s impossible to rebuild all the individual details from scratch.
Can you please explain what happened and, more importantly, how I can restore my previous theme configuration?
Are there backups or recovery options available from the TagDiv Cloud, Theme Panel, or database that would help me recover my lost settings?
This issue is extremely frustrating and has caused a major disruption. I urgently need your assistance to get the site back to its previous state.
Thank you in advance for your quick support.
Best regards,
The 12.7.2 update for Newspaper has just been released:
I currently have version 12.7.1 with the tagdiv cloud library fix that was sent to me to install.
Does the new 12.7.2 update already include the fix, or do I need to reinstall it after updating?
Hello,
The situation is as follows, when you deactivated the tagDiv Composer and tagDiv Cloud library plugins on the site, you only had shortcodes displayed, that is, text, as a result, the delivery time becomes very fast because only one query is made to the database that brings only text to that page, this is simple, easy and fast to interpret, while when these plugins are active and blocks are used that display articles, ctegories, menus, cpts…, images, texts, background images, different functionalities … it is normal for the duration to be a little longer, but if the site is well optimized it should be under 2 seconds.
Thank you!
Hello, we have issues with page responsivness – loading times on page http://www.modre-novice.si. We host on highest performance LiteSpeed server. We tried to optimize page with suggested cache plugin WP Super Cache – still not good, than we optimized it with liteSpeed cache – dedicated cacheing plugin for litespeed servers and it was a bit better but still too slow for an news portal.
We asked host to check on it and these were theirs findings:
Hello,
I checked the status of the website and ran a fairly simple test to see how long the initial response time is. I noticed that the response time for the website itself is indeed as described by the client — it takes more than two seconds for the main page to load.
I reviewed the server settings to see if there was anything that could still be optimized, but it seems the configuration is fine and nothing major has been overlooked. I then started looking into the application itself, so I began disabling WordPress plugins to identify which ones have the biggest impact on performance.
First, I disabled the top half of the plugins, but there was no noticeable change. Then I re-enabled them and repeated the process for the bottom half, where it turned out that some plugins could be problematic. When I started disabling the plugins one by one, I found that the “tagDiv Cloud Library” plugin, when disabled, reduced the total page render time by half.
I continued and disabled the “tagDiv Composer” plugin as well, which significantly reduced the load time even further — down to around 320 ms.
Usually, these modules for building and designing websites generate code that, unfortunately, isn’t very optimized for loading speed, even though the end product often looks nice. When I look at the website’s source code, the first thing I notice is that the <head> section is quite large and contains a huge amount of data.
The <head> tag stretches all the way to line 353 in the source code, and there’s a lot going on in that part of the code. This affects how quickly the browser can start loading the content from the <body> section. If there’s too much “bloat” in the <head> area, the browser has to process all of that before it can begin rendering any content.
My suggestion would be to review this page builder and consider replacing it with something else that would ultimately produce better performance.
If you decide to move to a VPS server, it will definitely be able to handle more of these “slow” requests compared to shared hosting. In addition, once the server is actually under load, we can recheck some parameters, and if the page still doesn’t load as expected (in this case, around 2.5 seconds is a typical result for an uncached single request), we can then increase certain limits on the server to achieve higher throughput.
________________________
What is the solution here?
My layman’s question is whether the website still works and looks the same when those two plugins are disabled? Namely, the news or posts are generated in the classic way under “Posts” without using these specific plugins. I’m wondering if they can remain disabled and only be turned on when needed — for example, when editing content on individual pages (and not on posts).
As for the tagDiv Cloud Library, it seems that this plugin provides the layouts for the posts themselves, the archive page, category pages, etc. Does the website’s visual structure break if this plugin is disabled?