WP booster Error

Posted in: Newspaper
Post count: 25

Hello,
I have done fresh localhost install to test the latest version before I can implement on live server.
If I rename theme name from newspaper to something else and also update style.css with new theme name.
Installed Retro Demo and got error on home page

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: tdm_header_style_3 is not set.
C:\Program Files\VertrigoServ\www\demo\wp-content\themes\inkoholics\includes\wp_booster\td_api.php

wp booster error:
td_api_base::get_key : a component with the ID: tdm_header_style_3 Key: file is not set.
C:\Program Files\VertrigoServ\www\demo\wp-content\themes\inkoholics\includes\wp_booster\td_api.php

While if I revert back to original theme name Newspaper, I dont see any error and demo works perfectly.
Is there anyway you can fix the issue and make theme compatible with any theme name because I dont want my competitors to know which theme I am using.

Post count: 20688

Hi,

There might be problems if you try to change the theme name. Other changes to make in addition to changing the theme folder and stylesheet name. Unfortunately we did not make any tests like this up to this moment.
There could be plugins or other solutions that you could use to hide the theme name in a WordPress website.

Thanks

Post count: 25

Hello,
We have been using this theme for last 3years with theme name changed. We never had issue. But now if we update our theme, we dont want to loose any data and settings.
The solution you are providing will lead me to never update the theme.
Please kindly test the theme with modified name.

Post count: 20688

Hi,

The theme panel settings and custom code entered in the theme panel, will not be lost after a theme update. Or you could create a child theme for theme customization
https://forum.tagdiv.com/the-child-theme-support-tutorial/
It is as well recommended to make periodic backups, in case something unpredictable happens.

Thanks

Post count: 25

Hi,
Yes we use child theme right now but we change main theme name and child theme name as per naming convention of wordpress 3 years ago. Now, it would be hard for us to change theme, please test it and make it available in such a way that things should not be depended on theme name. Irrespective of theme name, theme should work. For the first time I have seen that a theme only works if it has its original name.

I would recommend you to follow wordpress standard and https://codex.wordpress.org/Theme_Development

Post count: 20688

Hi,

As it currently is there is no guide that I could provide you for changing the theme name. You can make tests with changing the theme name.
Try deactivating all plugins including theme plugins. Change the folder name and stylesheet name. Activate the new theme in WordPress settings. Reinstall theme plugins. Then check the results.

Thanks

Post count: 25

Hello,
Yes I did the same. I have made a fresh wp install without any extra plugin installed Newspaper theme and bundled plugin.
The issue appears from Multipurpose & tagdiv page builder shortcodes they are not working.
Without these two plugins theme works.
So i suspect Multipurpose or tagdiv page builder checks theme name before it can be applied.
If you can remove that restriction of name. May be it would work?

Post count: 20688

Hi,

Try reinstalling the theme plugins after changing the theme folder and stylesheet name. Delete them from the plugins folder, and reinstall them from the theme plugins panel. There will be errors if they are active when you change the theme name and activate it.

Thanks

Post count: 25

Yes,
Tried both ways.
1) Installing WP, then rename theme and install theme.
2) Installing WP keep theme name same and later on put renamed theme.

In both way it doesnt work.
I will recommend you to test it on your localhost so that you can know the real cause of the issue.

Post count: 20688

Hi,

But I have tried it, those were the steps I made, the result you can see here
https://www.screencast.com/t/CTr2fsvYKT
https://www.screencast.com/t/fKQtOZa1lu
https://www.screencast.com/t/5AYcjYUZFu5G (installed plugins after renaming)
https://www.screencast.com/t/OXygaeycfj
https://www.screencast.com/t/zLZZZggBn2wU

Thanks

Post count: 25

Hi,
I understand the the level of testing, if you dig a bit more and move to Theme settings page you will see error:
https://i.imgur.com/9m82HcG.png

Post count: 20688

Hi,

I will add it on our list, it will be tested at some point. But I don’t believe it will be considered a high priority task unfortunately. Sorry for the inconvenience.

Thanks

Post count: 25

Hi,
Thanks for considering it for testing. Meanwhile what I can do is to resist updating my website. Once its fixed please add a note to changelog or update this post.
I will wait for the fix.

Post count: 6

hi,

is this issue fixed in the version >= 8.8 ?

best, dan

Post count: 25

Looks like issue is fixed. I just tested the 8.8.2 Newspaper version.

Post count: 25

Before upgrading do a test upgrade on your localhost to see if everything works perfectly! and do backup your site.
Because I have tested in fresh WP install and renamed the main theme and child theme for this test.

Viewing 16 posts - 1 through 16 (of 16 total)
The forum ‘Newspaper’ is closed to new topics and replies.