Fatal error: Call to undefined function get_featured_image_copyright()

Posted in: Newspaper
Post count: 11

Hi!
I’m trying to updated an existing site from version 8.1 to 8.8.1 without success. Everything loads fine in v8.1. As soon as I use the new theme none of the posts have any content (td-post-content ist empty).
– I tried to reset everything via theme panel
– I disabled all plugins
– only disabled td-composer
– installed Demo content
Nothing helped.
Last thing I did was enabling wp debug which displays the following error:
Fatal error: Uncaught Error: Call to undefined function get_featured_image_copyright() in /usr/www/users/testsd/wp-content/themes/Newspaper-child/includes/wp_booster/td_module_single_base.php:166 Stack trace: #0 /usr/www/users/testsd/wp-content/themes/Newspaper/loop-single.php(47): td_module_single_base->get_image('td_696x0') #1 /usr/www/users/testsd/wp-includes/template.php(688): require_once('/usr/www/users/...') #2 /usr/www/users/testsd/wp-includes/template.php(647): load_template('/usr/www/users/...', true) #3 /usr/www/users/testsd/wp-content/themes/Newspaper/single.php(28): locate_template('loop-single.php', true) #4 /usr/www/users/testsd/wp-includes/template-loader.php(74): include('/usr/www/users/...') #5 /usr/www/users/testsd/wp-blog-header.php(19): require_once('/usr/www/users/...') #6 /usr/www/users/testsd/index.php(17): require('/usr/www/users/...') #7 {main} thrown in /usr/www/users/testsd/wp-content/themes/Newspaper-child/includes/wp_booster/td_module_single_base.php on line 166
Do you have any clue why this happens?

Post count: 20688

Hi,

Those are a lot of errors, I see the some of them point to the child theme so make sure you disable that. I believe you made modifications to loop single files, in the child theme, those may not work with the latest theme version. Disable it and update again by FTP
https://forum.tagdiv.com/how-to-update-the-theme-2/
Update all theme plugins if needed (tagDiv composer and social counter should update automatically but sometimes it fails)
After you update don’t make any modifications to theme files, check if the problem is solved.

Also please review the updated theme requirements guide
https://forum.tagdiv.com/requirements-for-newspaper/

Let us know what you find.
Thanks

Post count: 11

Hi and thanks for your hint! You’re right the problem was some code in child theme. I’ve updated it, content loads fine now!
Thanks again!

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