Search Results for 'td composer'

Results from the Forum
Olivomedia
Participant
#0

I can’t activate td composer because of this error:

[13-Dec-2021 12:38:24 UTC] PHP Parse error: syntax error, unexpected ‘?’ in /home/olivosoporte/public_html/betanzos.es/novas/wp-content/plugins/td-composer/legacy/Newspaper/includes/td_config.php on line 32635

Bettina
tagDiv Staff

Hello @schoolvolley!

This is the code which is changing the font size for blockquotes :

For Gutenberg:

.wp-block-quote:not(.is-large):not(.is-style-large) p { font-size:15px!important;}

For Classic Editor:

.wp-block blockquote p, .wp-block .wp-block-freeform blockquote p { font-size:15px!important;}

If you paste the codes in the custom css section, then the changes will not be applied.
The codes needs to be placed in the file:
wp-content/plugins/td-composer/legacy/Newspaper/assets/CSS/td_guten_blocks_editor.css

Thank you!

Member Media
Participant
#0

Hello,
I can not longer edit my pages with the TD Composer. I get a java-script-error (react-error?). I use Newspaper v9.8. How can I solve this?

Thank you

Anamaria
tagDiv Staff

Hello,

Please try to add the code for the mobile theme in wp-content/plugins/td-composer/mobile/functions.php -> https://i.imgur.com/gHq11Rh.png

Thank you!

Bettina
tagDiv Staff

Hello @jchoi!

1. Yes, for customization and other services, please contact our custom work team here: https://tagdiv.com/premium-customization-services/
2. For example, for flex blocks (1-5) you can find the files here:wp-content\plugins\td-composer\legacy\Newspaper\includes\modules

Hope that helps you!

Thank you!

Lalit
Blocked
#0

How to fix Eliminate render-blocking resources showing in Google pagespeed?

Resources are blocking the first paint of your page. Consider delivering critical JS/CSS inline and deferring all non-critical JS/styles.

following files are affecting the performance.

/wp-content/plugins/td-composer/mobile/style.css?ver=11.3.2
/wp-content/plugins/td-composer/assets/fonts/td-multipurpose/td-multipurpose.css?ver=810534ce963cec6bd2e7978db2c935c9x
/wp-includes/js/jquery/jquery.min.js?ver=3.6.0
/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.3.2

Lalit
tagDiv Member

HI,

In order to fix this – https://prnt.sc/22pey9o , I am adding the following code in the child theme’s funtions.php but getting the error showing in the last.


// Preload Newspaper fonts for responsive theme (main theme) function
dns_prefetch_responsive()
{
echo '<link rel="preload" href="https://techreek.com/wp-content/plugins/td-composer/mobile/images/icons/mobile-theme.woff?10" as="font">';
}
add_action( 'wp_head', 'dns_prefetch_responsive', 0 );

Your PHP code changes were rolled back due to an error on line 12 of file wp-content/themes/techreek-child/functions.php. Please fix and try saving again.

syntax error, unexpected token “echo”

BandelMedia
Participant
#0

Hello!

I have tried to disable the H1 tag through composer however, it still shows up after multiple trys.

Next, I tried editing the td-standard-pack file to remove H1 manually, however, more H1 tags were found after editing.

I need some assistance pleas.

Bill Fleak
Participant
#0

We have created a new site in our dev environment and all works perfectly in the dev environment. When we deploy the dev site to the new production (live) environment and point our domain to it, we are receiving many PHP Out of memory errors.

This is only happening when the site is live to the public and starts receiving a lot of visitors (traffic).

The sites PHP.ini memory limit was 256MB on the dev and prod and we bumped this up to PHP.ini memory limit to 756MB to see if this resolve the issue. No LUCK..Same errors.

Do you have any insight into what may be causing this? I can send over site credentials if needed. Your assistance is greatly appreciated.

Below are a few lines of error code from our Apache error log:

[Thu Dec 09 15:25:28.953395 2021] [proxy_fcgi:error] [pid 2809:tid 140591727834880] [client 175.176.54.3:16106] AH01071: Got error ‘PHP message: PHP Fatal error: Out of memory (allocated 4194304) (tried to allocate 24576 bytes) in /bitnami/wordpress/wp-content/plugins/td-composer/legacy/common/wp_booster/td_css_buffer.php on line 33’, referer: https://www.google.com/

[Thu Dec 09 15:26:00.081537 2021] [proxy_fcgi:error] [pid 3333:tid 140592038266624] [client 198.245.41.130:55658] AH01071: Got error ‘PHP message: PHP Fatal error: Out of memory (allocated 27262976) (tried to allocate 20480 bytes) in /bitnami/wordpress/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 2934’

[Thu Dec 09 15:26:00.585914 2021] [proxy_fcgi:error] [pid 3465:tid 140592969332480] [client 198.245.41.130:46019] AH01071: Got error ‘PHP message: PHP Fatal error: Out of memory (allocated 14680064) (tried to allocate 40960 bytes) in /bitnami/wordpress/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 2937

[Thu Dec 09 15:26:06.486111 2021] [proxy_fcgi:error] [pid 2825:tid 140592558319360] [client 198.245.41.130:16087] AH01071: Got error ‘PHP message: PHP Fatal error: Out of memory (allocated 6291456) (tried to allocate 61440 bytes) in /bitnami/wordpress/wp-content/plugins/td-composer/legacy/common/wp_booster/td_css_res_compiler.php on line 18’

[Thu Dec 09 15:26:09.981622 2021] [proxy_fcgi:error] [pid 3333:tid 140591744521984] [client 66.249.66.158:40280] AH01071: Got error ‘PHP message: PHP Fatal error: Out of memory (allocated 6291456) (tried to allocate 57344 bytes) in /bitnami/wordpress/wp-content/plugins/td-composer/legacy/common/wp_booster/td_css_compiler.php on line 74

Bettina
tagDiv Staff

Hello @ernum!

The file is located here: wp-content\plugins\td-composer\legacy\common\wp_booster\td_module.php and you need to replace the code from 249-260 lines.

Thank you!

CampoAdmin
Participant
#0

When trying to load TD Composer I only get the Spinning Wheel of Doom. I suspect the issue to be here:

Uncaught TypeError: window.tdcAdminSettings is undefined
<anonymous> https://outlookvalleysun.outlooknewspapers.online/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=29b8eed74f3fa54e90e15885fee4a238:40
<anonymous> https://outlookvalleysun.outlooknewspapers.online/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=29b8eed74f3fa54e90e15885fee4a238:42
js_files_for_wrapper.min.js:40:452

Uncaught TypeError: document.getElementById(…) is null
init https://outlookvalleysun.outlooknewspapers.online/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=29b8eed74f3fa54e90e15885fee4a238:21
<anonymous> https://outlookvalleysun.outlooknewspapers.online/wp-admin/post.php?post_id=306&td_action=tdc&tdbTemplateType=page&prev_url=//outlookvalleysun.outlooknewspapers.online/:1132
jQuery 3
onsuccess https://outlookvalleysun.outlooknewspapers.online/wp-content/plugins/td-composer/assets/js/js_files_for_wp_admin.min.js?ver=29b8eed74f3fa54e90e15885fee4a238:38
js_files_for_wrapper.min.js:21:292
init https://outlookvalleysun.outlooknewspapers.online/wp-content/plugins/td-composer/assets/js/js_files_for_wrapper.min.js?ver=29b8eed74f3fa54e90e15885fee4a238:21
<anonymous> https://outlookvalleysun.outlooknewspapers.online/wp-admin/post.php?post_id=306&td_action=tdc&tdbTemplateType=page&prev_url=//outlookvalleysun.outlooknewspapers.online/:1132
jQuery 3
onsuccess https://outlookvalleysun.outlooknewspapers.online/wp-content/plugins/td-composer/assets/js/js_files_for_wp_admin.min.js?ver=29b8eed74f3fa54e90e15885fee4a238:38

I have tried the following to no avail:

define(‘CONCATENATE_SCRIPTS’,true);

<IfModule mod_substitute.c>
SubstituteMaxLineLength 10M
</IfModule>

Any thoughts on how to possibly resolve this?

Thanks!

sdi126
Participant
#0

Hey guys,

We updated a very old theme from version 9 to 11…and now when viewing on the front end we have visual issues. Here is an example of one “wp_booster error:
td_api_base::get_default_component_id : no component of type td_api_header_style . Wp booster tried to get the default component (the first registered component) but there are no components registered.
/nas/content/staging/mgacompanies/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php” does this mean something our layout was using no longer exists in the new version or what can we do to fix this?

Lalit
Blocked
#0

Hi,

It’s very URGENT!

1) schema markup error:

I have tested many urls of tech news demo for schema markup rich results and found that all posts have errors on schema.

check the report: https://search.google.com/test/rich-results/result?id=eFqGthwMe2C13kT-ebenuw

Schema markup has missing field “url” for author schema. it is a warning but still, I want to know how to fix it.

check this video: https://drive.google.com/file/d/1wCylPWWZXIctPPUXmBimEs8LaqumTdo3/view?usp=sharing

2) Ad box bug

With tagDiv composer, edit the ad box element and in the ad content section, I enabled “Hide ads for admins/editors” but it is not working. Ad still visible to admin.

Moreover, Ad title: is not visible to logged-in users but shows to non-logged-in visitors.

check this video: https://drive.google.com/file/d/1rZq65SSf6QhDGUdabjGvzozd50x1f4qJ/view?usp=sharing

If it is a bug, please fix it asap.

Regards,

hasmukhkharadi
Participant
#0

Hello,

We are getting following error while moving my website on live server.

Parse error: syntax error, unexpected ‘?’ in /…/…/public_html/blog/wp-content/plugins/td-composer/legacy/Newspaper/includes/td_config.php on line 32635

It works fine on another server where the development is going on.

Please help!

Thank you

Calin
tagDiv Staff

Hi,
Indeed there you’ll need to use a custom css for example you can use this code
.td-header-main-menu, .td-header-main-menu {
height: 0px;
}
.td-header-menu-wrap {
min-height: 0;
}

Set the code in the theme panel > custom code> advance css> phone.
Now for the breadcrumbs are usually on posts and are set in each post style, the path on those files is wp-content/plugins/td-composer/legacy/Newsmag/parts/single/loop-single-1.php now for some templates the code is set in loop-single-x.php for others in single_template_x.php
-> https://i.imgur.com/Eu4RHa8.png
-> https://i.imgur.com/1fvgJhe.png
The code for breadcrumbs is set on this path -> wp-content/plugins/td-composer/legacy/common/wp_booster/td_page_generator.php -> https://i.imgur.com/tZQcd4S.png
I hope this will help.
Thank you!

Calin
tagDiv Staff

Hi,
All the elements from the mobile menu -> https://i.imgur.com/kEFw0Qy.pngare in the above indicate paths:
-> wp-content/plugins/td-composer/legacy/Newsmag/parts/header/header-menu.php
-> wp-content/plugins/td-composer/legacy/Newsmag/parts/header/header-menu-h1.php
The code for mobile logo and menu is this one https://i.imgur.com/T2LFCFL.png and the code for the mobile search is this one https://i.imgur.com/D7y4nPL.png
I hope this will help you!

Calin
tagDiv Staff

Hi,
The menu files are locate on this path -> wp-content/plugins/td-composer/legacy/Newsmag/parts/header/header-menu.php and wp-content/plugins/td-composer/legacy/Newsmag/parts/header/header-menu-h1.php
Also if you provide a link to website and some screenshots with the elements you want to remove I can be more precise.
Thank you!

ankitgulgulia
Participant
#0

Hi Support,

I am using the Newspaper theme and it is really very nice. Currently I am using the Theme with the version 9.3.7

Now I have to update the theme with the latest version 11.3.2

But If I directly update theme, It breaks the sites and all the shortcodes that generates by the td Composer plugin.
See the link: https://prnt.sc/21cj92i

Kindly help me to update the theme in my this website.

Website Link: https://charteredonline.in/

Thanks!

Ernum
Participant
#0

Hello!

Thank you for that awesome work what have you done 🙂

I wanted to ask update from 8 to 11.

I would need to update webpage silently 🙂

Is that right to do?

1) I’ll upload new theme to the FTP.
2) I’ll change current website to Twentyeleven theme.
3) I’ll rename old Newspaper theme to different folder name and new theme to the old folder name (to keep database settings and url-s)
4) I’ll acticate new theme.
5) I’ll install immediately Standard Pack plugin to keep remain settings what I had.
6) Install plugins what I need (td-composer, td-cloud-library)
7) I’ll build new frontpage with td-composer on another page. (So long standard pack holds visual composer premade front page what I had before)
8) I’ll make new header and footer from tagdiv cloud library.
9) I’ll change footer and header and front page.
10) I’ll disable Standard pack plugin and conclusion is that – website is faster? 🙂

Best regards

Calin
tagDiv Staff

Hi rintu,
Thank you for contacting us!
The amp version has a simple design to make it as fast as it is possible, so our developers added the mobile theme as an amp template, but, indeed the settings for layout are only a few -> https://forum.tagdiv.com/the-mobile-theme/
Also the /wp-content/plugins/td-composer/mobile/single.php is the right path for amp if you use it with mobile theme plugin, unfortunately, this can not be set in child theme, that file can be overwrite only in the original files.
Thank you for your understaning!

fonetechcz
Participant
#0

I was trying to switch one web to Newspaper theme and after activating td-composer got total crash with 500 Internal server error both front/back end. It is caused just by activating composer, disabling it fixes problem – but theme doesnt work ofc. Using latest version 11.3.2

Tried removing all other plugins to avoid possible conflicts, but situation remained same. Requirements for theme should be ok:
PHP Version 8.0.13
WP Memory Limit 256 MB
PHP Execution Time 300
PHP Max Input Vars 5000

Only problem is that WP doesnt have direct access to files and using ftpext, but didnt have any problems with that on my other websites run on same hosting. Only difference is that other sites have older PHP, here is new 8.0.13.

After activating WP Debug I got this message

Fatal error: Uncaught TypeError: ftp_fget(): Argument #1 ($ftp) must be of type resource, null given in /var/www/mysite/www/wp-admin/includes/class-wp-filesystem-ftpext.php:146 Stack trace: #0 /var/www/mysite/www/wp-admin/includes/class-wp-filesystem-ftpext.php(146): ftp_fget() #1 /var/www/mysite/www/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/plugins/class-tagdiv-theme-plugins-setup.php(342): WP_Filesystem_FTPext->get_contents() #2 /var/www/mysite/www/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/plugins/class-tgm-plugin-activation.php(1977): tagdiv_theme_plugins_setup->theme_plugin_has_update() #3 /var/www/mysite/www/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/plugins/class-tgm-plugin-activation.php(1836): TGM_Plugin_Activation->does_plugin_have_update() #4 /var/www/mysite/www/wp-content/themes/Newspaper/includes/wp-booster/wp-admin/plugins/class-tgm-plugin-activation.php(422): TGM_Plugin_Activation->is_tgmpa_complete() #5 /var/www/mysite/www/wp-includes/class-wp-hook.php(303): TGM_Plugin_Activation->init() #6 /var/www/mysite/www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #7 /var/www/mysite/www/wp-includes/plugin.php(470): WP_Hook->do_action() #8 /var/www/mysite/www/wp-settings.php(578): do_action() #9 /var/www/mysite/www/wp-config.php(104): require_once(‘…’) #10 /var/www/mysite/www/wp-load.php(50): require_once(‘…’) #11 /var/www/mysite/www/wp-admin/admin.php(34): require_once(‘…’) #12 /var/www/mysite/www/wp-admin/plugins.php(10): require_once(‘…’) #13 {main} thrown in /var/www/mysite/www/wp-admin/includes/class-wp-filesystem-ftpext.php on line 146

rintu
Participant
#0

Hello Support Team,
We are using a Newspaper theme and we are looking to customize the AMP Post Template, So we are trying to overwrite AMP Post Template(/wp-content/plugins/td-composer/mobile/single.php) to child-theme but have not succeeded on that.

Yes, we are using Official AMP for WP + tagDiv Mobile Theme, Screenshots: https://www.awesomescreenshot.com/image/17570778?key=f67de777e1309c6e71653ebd1c9b2686

As per debug AMP Post Template is coming from “(/wp-content/plugins/td-composer/mobile/single.php)” so how can we overwrite into our child theme? we have a fully custom AMP design so it will not fit in your default design so we want to customize it please guide us for the same.

Looking forward to hear you.
Thank you.

Calin
tagDiv Staff

Hi,
For the moment the only solution that I can provide is to make some change sin the theme files, more exactly in -> wp-content/plugins/td-composer/legacy/Newsmag/js/tagdiv_theme.min.js and replace the ‘location.reload(!0)’ with ‘location.assign(“https://www.your-link.com&#8221;)’ -> https://i.imgur.com/5CgXDwK.png -> https://i.imgur.com/YWHfeN5.png
I hope this will help you!

Ezybusy
Participant
#0

Hi, am facing an error that says:
wp_booster error:
td_module: td_module_single($post): $post is not WP_Post
/home/xxxxx/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_module.php

I read somewhere on this forum that we need to intall and activate tagDiv Standard pack plugin to solve the issue.
Meanwhile i don’t have that plugin displayed in my dashboard (see attached image)

ap-2
Participant
#0

After new update below errors are observed, kindly correct it.
wp_booster error:
td_api_base::mark_used_on_page : a component with the ID: single_template_12 is not set.
/home/u348316991/domains/sweetneems.com/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_api.php

Display backtrace

Viewing 25 results - 1,976 through 2,000 (of 9,951 total)