Website was broken without change anything

Posted in: Newspaper
Post count: 14

Hi,

Maybe after wordpress auto update to 4.8.2, all pages that have built with TD is blank.

If edit with TD get this error:

Errors happened during tdcIframeData.init() -> bindViewsModelsWrappers()!

The only plugins I have enabled is tagDiv Composer and tagDiv Social Counter, nothing else?

This is unacceptable to happen on a news website.

Whats going wrong?

Sotiris

Post count: 9544

Auto update generally not great idea; but did you try since you should be doing a site backup PRIOR to any WP update (just as it says in the WP admin panel) — but try:
a) clear transients with wp-optimize
b) clear all caching
c) resave permalinks ?

Welcome to WordPress!

( I do a and c every time I update anything! )

Post count: 4

Chris,

I have clear transients. I don’t have any cache plugin.

The problem still exists!

What else can I do?

Thanks
Sotiris

Post count: 4

Chris,

Here is the error log from NGINX for broken website:

2017/09/21 23:10:41 [error] 1597#1597: *122945 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function is_category() in /var/www/neosagon.gr/wp-content/themes/Newspaper/includes/wp_booster/td_page_generator.php:25
Stack trace:
#0 /var/www/neosagon.gr/wp-includes/class-wp-hook.php(298): td_page_generator::get_breadcrumbs_json_ld(”)
#1 /var/www/neosagon.gr/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
#2 /var/www/neosagon.gr/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#3 /var/www/neosagon.gr/wp-includes/general-template.php(2589): do_action(‘wp_head’)
#4 /var/www/neosagon.gr/wp-content/themes/Newspaper/header.php(11): wp_head()
#5 /var/www/neosagon.gr/wp-includes/template.php(688): require_once(‘/var/www/neosag…’)
#6 /var/www/neosagon.gr/wp-includes/template.php(647): load_template(‘/var/www/neosag…’, true)
#7 /var/www/neosagon.gr/wp-includes/general-template.php(45): locate_template(Array, true)
#8 /var/www/neosagon.gr/wp-content/themes/Newspaper/page.php(7): get_header()
#9 /var/www/neosagon” while reading upstream, client: 79.131.71.135, server: neosagon.gr, request: “GET / HTTP/2.0”, upstream: “fastcgi://unix:/run/php/php7.0-fpm.sock:”, host: “neosagon.gr”, referrer: “https://neosagon.gr/wp-admin/tools.php?page=tc-options”

You can see that ../Newspaper/includes/wp_booster/td_page_generator.php calls undefined function is_category() at line 25.

Please help me to resolve the issue.

Sotiris

Post count: 4

Chris,

The auto wordpress update was fire and at another website with Newspaper but all is ok. All plugins was at the latest version.

Take a look: http://soccerplus.gr/

All works perfect

What can I do?
Why my website was broken?

It is related to the fact that the site is served under https?

Thank You!
Sotiris

Post count: 4

Chris,

The website has returned by himself for magic.

Website broke itself and itself was fixed.

I saw such unexplained phenomena for the first time.

In any case,

I welcome to wordpress

Sotiris

Post count: 9544

🙂
usually a caching issue …

That’s why i do the wp-optimize thing and resave permalinks to clear all the ‘micro caching’ — seriously, it helps!

Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.