After 8.7 update the whole site gets 500 error

Posted in: Newspaper
Post count: 23

After update my site is down.

Error log says:
PHP Fatal error: Uncaught Error: Access to undeclared static property: td_global::$viewport_settings in /home/xxa/public_html/wp-content/themes/Newspaper/includes/td_config.php:9583
Stack trace:
#0 /home/xxa/public_html/wp-includes/class-wp-hook.php(286): td_config::on_td_global_after_config('')
#1 /home/xxa/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /home/xxa/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#3 /home/xxa/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_wp_booster_functions.php(35): do_action('td_global_after')
#4 /home/xxa/public_html/wp-content/themes/Newspaper/functions.php(23): require_once('/home/xxa/pu...')
#5 /home/xxa/public_html/wp-settings.php(426): include('/home/xxa/pu...')
#6 /home/xxa/public_html/wp-config.php(103): require_once('/home/xxa/pu...')
#7 /home/xxa/public_html/wp-load.php(37): require_once('/home/xxa/pu...')
#8 /home/xxa/public_html/wp-blog-header.php(13): require_once(' in /home/xxa/public_html/wp-content/themes/Newspaper/includes/td_config.php on line 9583

I commented out this code in condig file, but only top header loads:
td_global::$viewport_settings = array(
'all' => td_global::$theme_panel_custom_css_fields_list['tds_responsive_css_desktop'],
'landscape' => td_global::$theme_panel_custom_css_fields_list['tds_responsive_css_ipad_landscape'],
'portrait' => td_global::$theme_panel_custom_css_fields_list['tds_responsive_css_ipad_portrait'],
'phone' => td_global::$theme_panel_custom_css_fields_list['tds_responsive_css_phone'],
);

Post count: 23

Now i get this: PHP Fatal error: Uncaught Error: Access to undeclared static property: td_global::$viewport_settings in /home/xxa/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_css_res_compiler.php:112

Any help ?

My php version is 7, now updated to 7.1 and it is the same

Post count: 23

Reinstalled theme from scratch:

Issue is now is this:

[14-Feb-2018 16:05:23 Europe/Vilnius] PHP Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding() in /home/xxa/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_css_res_compiler.php:54
Stack trace:
#0 /home/xxa/public_html/wp-content/themes/Newspaper/includes/shortcodes/td_block_big_grid_3.php(68): td_css_res_compiler->load_settings('td_block_big_gr...', Array)
#1 /home/xxa/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_block.php(222): td_block_big_grid_3->get_custom_css()
#2 /home/xxa/public_html/wp-content/themes/Newspaper/includes/shortcodes/td_block_big_grid_3.php(96): td_block->get_block_css()
#3 /home/xxa/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_global_blocks.php(28): td_block_big_grid_3->render(Array, '')
#4 /home/xxa/public_html/wp-includes/shortcodes.php(319): td_global_blocks::proxy_function(Array, '', 'td_block_big_gr...')
#5 [internal function]: do_shortcode_tag(Array)
#6 /home/xxa/public_html/wp-includes/shortcodes.php(197): preg_replace_callback('/\\[(\\[?)( in /home/xxa/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_css_res_compiler.php on line 54

Post count: 50

I updated the theme via FTP and no content would load on the front end. I just reverted to the previous version of the theme.

Post count: 23

I did fresh theme upload, and it worked

Post count: 1043

Issue resolved for missing homepage content!

1. Deactivate TD Composer in plugins section
2. Uninstall TD Composer in plugins section
3. Download the latest Newspaper 8.7 version from ThemeForest
4. Extract out the content
5. Go to Theme –> Newspaper –> includes –> plugins
6. Locate the zipped td-composer file in the plugins folder
7. Head back to WordPress, install td-composer as a new plugin

Post count: 494

Following

Post count: 39

tried isntalling new td-composer file…. did not work for me.

  • This reply was modified 8 years by arrezzo.
Post count: 20688

@RezNation The website seems to be working properly at the moment with the latest theme version installed
https://www.screencast.com/t/a8T4m55Aq
Please mention what problems you are having exactly.

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