I would like to be able to remove the style: td-theme-demo-style-css.
<link rel=’stylesheet’ id=’td-theme-demo-style-css’ href=’/wp-content/plugins/td-composer/legacy/Newspaper/includes/demos/gossip_pro/demo_style.css?ver=12.6.1′ type=’text/css’ media=’all’ />
It is empty for my theme and not needed so I need to remove it from the page. How can I do that?
I’ve tried:
wp_dequeue_style(‘td-theme-demo’);
wp_dequeue_style(‘td-theme-demo-style’);
Non work.
Hi,
Unfortunately, you can try to use the suggestions from those topics.
There are many optimization guides provided by our users here in the forum, some made by us; you could check some of them
– https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/cache-plugin-install-and-configure/
– https://forum.tagdiv.com/how-to-make-the-site-faster/
– https://forum.tagdiv.com/topic/high-number-of-ajax-request/
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://www.andraware.com/wp-rocket-for-newspaper-theme/
– https://forum.tagdiv.com/topic/page-speed-guide-for-2023-beginners-and-advanced/
– https://forum.tagdiv.com/topic/newspaper-theme-speedify-your-website/
– https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
– https://forum.tagdiv.com/cloudflare-cdn/
– https://forum.tagdiv.com/topic/theme-causing-high-cpu-usage-2/
– https://forum.tagdiv.com/topic/sql-querys-high-cpu/
– https://forum.tagdiv.com/topic/newspaper-theme-slow-to-respond/
– https://premium.wpmudev.org/blog/optimizing-your-wordpress-database-a-complete-guide/
– https://underconstructionpage.com/optimize-wordpress-database/
– https://crunchify.com/better-optimize-wordpress-database-all-in-one-guide/
Also, pagespeed is not covered by support -> https://forum.tagdiv.com/newspaper-theme-support/
If you use Wp Rocket, you can try to exclude the following files
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
tdBlocksArray
To be able to optimize and to remove CLS and LCP please check these guide => https://developers.google.com/web/tools/lighthouse/ -> https://www.sqlpac.com/en/documents/google-pagespeeds-lighthouse-6-new-features-lcp-cls.html -> https://web.dev/lighthouse-whats-new-6.0/ -> https://web.dev/lcp/ -> https://web.dev/cls/
Hello
I am using Openlitespeed server combined with Litespeed cache plugin. After upgrading to php8.1 version I noticed the following error message. Please fix the error in the next update version. Thank.
Here are the error messages I received:
PHP Warning: Undefined array key "sample_posts_data" in /usr/local/lsws/mydomain.com/html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_ajax.php on line 214
PHP Deprecated: strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/lsws/mydomain.com/html/wp-content/plugins/td-composer/legacy/Newspaper/ loop.php on line 65
PHP Warning: Undefined array key "sample_posts_data" in /usr/local/lsws/mydomain.com/html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_ajax.php on line 214
PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /usr/local/lsws/mydomain.com/html/wp-content/plugins/td-cloud-library/includes/ Mobile_Detect.php on line 1257
Hi my td composer plugin is infected a few days ago i star to notice that my malwarebites display a warnign about a troyan in my page https://revoluciontrespuntocero.news/
I check other conversations and found that is the td composer plugin, I unistalled and installed agian but still shows the same warning, what can I do ?
I also check the code but couldn’t found the abnormal code, also I can’t upgrade my theme because it displays a error (Could not move the old version to upgrade-temp-backup directory)
Hope you can help me
I checked the previous version of the theme and the CSS seems the same. Well, in the end I’m really not a programmer and still don’t understand why this works with 12.5.1 and not with 12.6.1. Just to reiterate one piece of information, the preview of the ‘td_block_homepage_full_1’ works with TagDiv Composer, but live it is not displayed with version 12.6.1
Merci !
hi team,
i have some troubles with the tagdiv composer after an upgrade von 12.2 to 12.6.1.
TagDiv Composer
Ajax error
An error occurred and we could not finish the process.
Please manually update the plugins."
Maybe its my php version 7.3.33 (which isn’t updatable at the moment) or something other.
After upgrade my page goes to in wordpress recovery mode and reported an issue with tagdiv composer.
Create everything on your website right on the frontend with this drag and drop builder. Perfect for articles, pages, headers, and footers. No coding skills required.
Version 4.4 | built on 05.10.2023 12:50 | Von tagDiv | Plugin-Seite aufrufen
Dieses Plugin konnte nicht richtig geladen werden und wird im Wiederherstellungsmodus angehalten.
Ein Fehler vom Typ E_PARSE wurde in der Zeile 8der Datei /usr/share/nginx/html/wordpress/wp-content/plugins/td-composer/legacy/common/wp_booster/td_resources_load.php verursacht. Fehlermeldung: syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)
Is it possible to downgrade to newspaper 12.2 and than migrate to another server with actually version of php and mysql?
thanks a lot
Hello again,
I did other checks, the Homepage post block,[td_block_homepage_full_1], no longer works when displaying the website in Desktop mode with version 12.6.1, unlike version 12.5.1.Even disabling all plugins other than yours.
I did not edit my main page with WPBakery but rather with TagDiv Composer. The preview works well, but immediately live, the block does not appear. Only viewed from a smartphone.
From there, I don’t know what to do to get my main page back with the display as I had defined it before unless I return to version 12.5.1.
Please find a solution, thanks in advance,
Luc Laporte
Hi Bettina,
Can you look a little deeper into this?
1. Yes I understand the child theme is not overwritten, I’m asking for guidance about why we would get a critical error from this line of code in it’s header.php – perhaps related to #2? It is related to general issue of the update breaking the site, child theme or not.
This is the code:
/*
* loads the header template set in Theme Panel -> Header area
* the template files are located in ../parts/header
*/
td_api_header_style::_helper_show_header();
This is the error:
PHP Fatal error: Uncaught Error: Class “td_util” not found in /srv/htdocs/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/tagdiv-view-header.php:19 Stack trace: #0 /srv/htdocs/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/tagdiv-view-theme-plugins.php(59): require_once() #1 /srv/htdocs/wp-content/themes/Newspaper/includes/wp-booster/tagdiv-wp-booster-functions.php(499): require_once(‘/srv/htdocs/wp-…’) #2 /wordpress/core/6.3.1/wp-includes/class-wp-hook.php(310): {closure}(”) #3 /wordpress/core/6.3.1/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array) #4 /wordpress/core/6.3.1/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /wordpress/core/6.3.1/wp-admin/admin.php(259): do_action(‘newspaper_page_…’) #6 {main} thrown in /srv/htdocs/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/tagdiv-view-header.php on line 19
#2. We have all dependent plugins. Below is what the shortcodes look like that are appaering everywhere – they look related to the composer, which we have installed & activated, and the new version from the theme update. My theory is that because we are making such a jump in theme versions, we’re missing one of the intermediate updates that performed some sort of action that converted them in td composer during a previous update. Can you please ask your dev team?
[td_block_9 custom_title=”Breaking News” custom_url=”/category/breaking-news/” category_id=”24″ limit=”10″ el_class=”breaking-news-block” header_color=”#d90000″]
-
This reply was modified 2 years by
FreshySites.
Hello,
Unfortunately I do not know how that plugin is working, but I think that using the theme panel fields for mobile ads is not working – https://i.imgur.com/cp2mdNr.png
The files for mobile theme are located in – wp-content/plugins/td-composer/mobile
Thank you!
Hi Tagdiv,
So what is the final solution here?
This is just a work around on how to identify where is the malware.
Did you already have a fix for the vulnerability? Even if we follow steps here – there’s always a tendency for the site to be hacked again unless you apply a fix to the plugin/theme.
Your response puts us in circles.
You reply the solution is in this link: https://forum.tagdiv.com/topic/wp-zexit-malware-and-newspaper-theme-problem-please-see/
Then that link points to this link: https://forum.tagdiv.com/topic/update-tag-div-composer-and-wp-bakery-page-builder-plugin/
It is stated here that there’s a vulnerability in your Theme/Plugin:
https://forum.tagdiv.com/topic/backdoor-in-td-composer-allows-anyone-to-append-css-code-to-the-page-by-making-a/
So what is the final fix to prevent this? Do you expect us to just fix this everytime this happens – knowing that the theme has a vulnerability?
Hi, I am modifying single templates in cloud templates. The single post template is using Default RTL PRO, but I have a question. When I go to my site, I see the blue circled Related part, and I want to delete it, but when I go to Edit with TD Composer, I don’t see the Related screen and I can’t delete it. I want to get rid of the blue circled part and I would appreciate if you can tell me how to do it.
Hi Calin,
I have got this from ESET:
The td-composer plugin contains the suspicious parts, which is a script file that seems really irrelevant to a visitor, but is still loaded, because apparently this would only be necessary for the developer to create the interface, but a WP developer needs to see better what this plugin is exactly:https://imgur.com/a/dRaFGQX
hello we are getting this
/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_css_res_compiler.php on line 545
flooding error logs
we have latest version newspaper theme – all updated core/plugins
WordPress version 6.3.1
Active theme: Newspaper (version 12.6)
Current plugin: tagDiv Composer (version 4.3 | built on 15.09.2023 12:29) PHP version 7.2.34
Error Details
=============
An error of type E_PARSE was caused in line 8 of the file /home/trackcycling/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_resources_optimize.php. Error message: syntax error, unexpected ‘string’ (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Thank you. I activated the Tag-Div and this happened:
Parse error: syntax error, unexpected ‘string’ (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /hermes/bosnacweb02/bosnacweb02ae/b2004/ipg.darrylmoss58083/wp_site_1624144160/wp-content/plugins/td-composer/legacy/common/wp_booster/td_resources_optimize.php on line 8
There has been a critical error on this website. Please check your site admin email inbox for instructions.
Learn more about troubleshooting WordPress.
Hello,
The page loading speed can depend on many factors, and each website is unique from this point of view. Let me explain some of these factors and maybe they give you some starting points for optimizing your website. A good choice for the page speed, could be the mobile layout which contains fewer elements because it can improve a bit your page speed.
There are many optimization guides provided by our users here in the forum, some made by us; you could check some of them
– https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/cache-plugin-install-and-configure/
– https://forum.tagdiv.com/how-to-make-the-site-faster/
– https://forum.tagdiv.com/topic/high-number-of-ajax-request/
– https://forum.tagdiv.com/topic/score-100100-pagespeed-with-newspaper-wordpress-theme/
– https://www.andraware.com/wp-rocket-for-newspaper-theme/
– https://forum.tagdiv.com/topic/page-speed-guide-for-2023-beginners-and-advanced/
– https://forum.tagdiv.com/topic/newspaper-theme-speedify-your-website/
– https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
– https://forum.tagdiv.com/cloudflare-cdn/
– https://forum.tagdiv.com/topic/theme-causing-high-cpu-usage-2/
– https://forum.tagdiv.com/topic/sql-querys-high-cpu/
– https://forum.tagdiv.com/topic/newspaper-theme-slow-to-respond/
– https://premium.wpmudev.org/blog/optimizing-your-wordpress-database-a-complete-guide/
– https://underconstructionpage.com/optimize-wordpress-database/
– https://crunchify.com/better-optimize-wordpress-database-all-in-one-guide/
Also, pagespeed is not covered by support -> https://forum.tagdiv.com/newspaper-theme-support/
If you use Wp Rocket, you can try to exclude the following files
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/wp-content/plugins/td-composer/legacy/Newspaper/js/tagdiv_theme.min.js
tdBlocksArray
To be able to optimize and to remove CLS and LCP please check these guide => https://developers.google.com/web/tools/lighthouse/ -> https://www.sqlpac.com/en/documents/google-pagespeeds-lighthouse-6-new-features-lcp-cls.html -> https://web.dev/lighthouse-whats-new-6.0/ -> https://web.dev/lcp/ -> https://web.dev/cls/
Thank you!
I’m receiving the same error on a fresh website (no other plugins etc)
27-Sep-2023 12:16:35 UTC] PHP Parse error: syntax error, unexpected ‘array’ (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in /home/wwwcypruswedding/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_resources_load.php on line 8
[27-Sep-2023 12:18:05 UTC] PHP Parse error: syntax error, unexpected ‘array’ (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in /home/wwwcypruswedding/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_resources_load.php on line 8
[27-Sep-2023 12:18:13 UTC] PHP Parse error: syntax error, unexpected ‘array’ (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in /home/wwwcypruswedding/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_resources_load.php on line 8
[27-Sep-2023 12:18:29 UTC] Cron reschedule event error for hook: td_instagram_cron_job, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {“schedule”:”3hours”,”args”:[],”interval”:10800}
[27-Sep-2023 12:20:20 UTC] Cron reschedule event error for hook: td_instagram_cron_job, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {“schedule”:”3hours”,”args”:[],”interval”:10800}
[28-Sep-2023 06:03:00 UTC] Cron reschedule event error for hook: td_instagram_cron_job, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {“schedule”:”3hours”,”args”:[],”interval”:10800}
Hello,
You can find the file where this is implemented in those paths -> wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/content-metaboxes/td_set_post_settings.php -> wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/content-metaboxes/td_set_post_settings_cpt.php
Thank you!
Hello,
To change this to h2 -> https://i.imgur.com/wlZ8FHa.png you need to edit the php file -> wp-content/plugins/td-composer/mobile/front-page.php -> https://i.imgur.com/C5JX8KY.png
Thank you!
live-css is a plugin used by td-composer that creates a backdoor for anyone to add malware. You need to fix your plugin.
function td_live_css_on_rest_api_init() {
$namespace = ‘tdw’;
register_rest_route($namespace, ‘/save_css/’, array(
‘methods’ => ‘POST’,
‘callback’ => ‘td_live_css_on_ajax_save_css’,
‘permission_callback’ => ‘__return_true’,
));
}
should be false
Hello, is there anyone able to HELP ME with the issue?
Upgradin php from 7.3 to 8.0 caused “deprecated” errors by majority (not only 5-10%, now its majority) of articles…
Now I tried to switch from php 8.0 to 8.1 and it is worst again – errors “deprecated” above all pages including submenus, and all articles.
It´s crazy!
The problem is reported inside wp-booster a td-util
Deprecated: md5(): Passing null to parameter #1 ($string) of type string is deprecated in /data/web/virtuals/83305/virtual/www/wp-content/plugins/tenweb-speed-optimizer/includes/OptimizerUtils.php on line 2011
Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /data/web/virtuals/83305/virtual/www/wp-content/plugins/tenweb-speed-optimizer/includes/OptimizerUtils.php on line 2018
—
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /data/web/virtuals/83305/virtual/www/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 2255
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /data/web/virtuals/83305/virtual/www/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 2256
—
https://www.bydleni12.cz/tepelna-cerpadla-zmeny-v-dotacich-od-zari-2023/
example
HOW TO FIX IT? The switching back to php 7.3 is no the right way, many plugins incl the current problem with TAGDIV core of NEWSPAPER is not running below php 8.0!
Thank you
Upon activating the Newspaper theme, I received the following message and my website crashed:
Warning: require_once(legacy/Newspaper/functions.php): failed to open stream: No such file or directory in /home/customer/www/brooksysociety.com/public_html/wp-content/plugins/td-composer/td-composer.php on line 193
Fatal error: require_once(): Failed opening required ‘legacy/Newspaper/functions.php’ (include_path=’.:/usr/local/php74/pear’) in /home/customer/www/brooksysociety.com/public_html/wp-content/plugins/td-composer/td-composer.php on line 193
There has been a critical error on this website. Please check your site admin email inbox for instructions
Please Help, how do I fix this?
Hello!
Is that the error you getting as my log is full of it
[25-Sep-2023 20:04:18 UTC] PHP Warning: Undefined array key “undefined” in /var/web/site/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_css_res_compiler.php on line 545
if I switch to php 8.0 (any php above 7.3) i receive on some (but on many!) pages eroor
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /data/web/virtuals/83305/virtual/www/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 2255
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /data/web/virtuals/83305/virtual/www/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 2256
