Hello, I am building a site and when today I have updated the theme, the site does not load. There is a white page and that’s it. With the child theme it does not work, while if the parent theme is active everything is ok. What is the problem? Please answer me as soon as possible, it is urgent.
Ps. When I entered the editor to take a look, I received this error message:
Error at line 45 of the wp-content / themes / Newspaper-child / header.php file. Correct and try to save again.
Unchaught Error: call to undefined method td_api_header_style :: _ helper_show_header () in wp-content / themes / Newspaper-child / header.php: 45
Stack trace:
# 0 wp-includes / template.php (688): require_once ()
# 1 wp-includes / template.php (647): load_template (‘/ home / sxmodist / …’, true)
# 2 wp-includes / general-template.php (41): locate_template (Array, true)
# 3 wp-content / themes / Newspaper / page.php (7): get_header ()
# 4 wp-includes / template-loader.php (74): include (‘/ home / sxmodist / …’)
# 5 wp-blog-header.php (19): require_once (‘/ home / sxmodist / …’)
# 6 index.php (17): require (‘/ home / sxmodist / …’)
# 7 {main}
threw
Sorry for my English
-
This topic was modified 7 years by
Joss.
Hi,
If it works without the child theme active, then it would be safe to say that the child theme is responsible.
Before an update, if you use a child theme, please check the files that have been modified by us. There is always a list of them here – http://prntscr.com/ml066e
– https://themeforest.net/item/newspaper/5489609
In the latest update the header.php was modified
– https://tagdiv.com/td_deploy/Newspaper/changed_files_9.2.1_9.5.html
So the old file from the child theme may cause problems. You would need to copy the new file in the child theme and redo the modifications/additions that are needed.
Thanks
Update:
The update seems to be a problem with the update of the Tagdiv Composer. I was able to solve the problem by deleting the tdComposer folder in /wp-content/plugins/. Then I reinstalled the TD Composer in the themes plugin menu. Everything works again now.
@tageldart The child theme is included in the theme package, code folder
– https://forum.tagdiv.com/whats-included/ – http://prntscr.com/mmp9gg
It contains the basic required code specified by WordPress. You only have to install it and them use it
– https://forum.tagdiv.com/the-child-theme-support-tutorial/