Fatal error in the footer

Posted in: Newspaper
Post count: 11

Today I added and deleted a javascript from the footer of the theme and now I am seeing the following error in the footer.

Fatal error: Uncaught exception ‘ErrorException’ with message ‘td_js_buffer::add_to_footer – the header JS was already rendered when you called td_js_buffer::add_to_footer() (ex: was called to late)’ in /home/upshou5/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_js_buffer.php:48 Stack trace: #0 /home/upshou5/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_wp_booster_functions.php(988): td_js_buffer::add_to_footer(‘\n\t\r\n\r\n\t\t(functi…’) #1 [internal function]: td_bottom_code(”) #2 /home/upshou5/public_html/wp-includes/class-wp-hook.php(298): call_user_func_array(‘td_bottom_code’, Array) #3 /home/upshou5/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #4 /home/upshou5/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /home/upshou5/public_html/wp-includes/general-template.php(2590): do_action(‘wp_footer’) #6 /home/upshou5/public_html/wp-content/themes/Newspaper/footer.php(92): wp_footer() #7 /home/upshou5/public_html/wp-includes/tem in /home/upshou5/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_js_buffer.php on line 48

Does anyone know what is going wrong here and how I can fix it?

Post count: 23312

Hello oopy20,

You should re-install the latest version of the theme via FTP way, use only the plugins that come bundled with the theme packet and rule out any conflicting plugins. I suggest you install the theme again via this way because this is the surest method in this regard. A bad theme installing can cause this type of issues and that’s why it is very important to make a new fresh install from scratch and check the results.

Hope this helps and let us know how it goes!

Thanks for the message!

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