Debug shows errors in preview mode

Posted in: Newspaper
Post count: 22

Hello,

When see preview mode it shows the following errors:

Fatal error: Uncaught Error: Call to a member function format() on boolean in /home/nginx/domains/mysite.com/public/wp-content/plugins/td-composer/legacy/common/wp_booster/td_module_single_base.php:672 Stack trace: #0 /home/nginx/domains/mysite.com/public/wp-content/plugins/td-standard-pack/Newspaper/parts/single/loop-single-2.php(42): td_module_single_base->get_item_scope_meta() #1 /home/nginx/domains/mysite.com/public/wp-content/plugins/td-standard-pack/Newspaper/parts/single/single_template_2.php(56): require_once(‘/home/nginx/dom…’) #2 /home/nginx/domains/mysite.com/public/wp-includes/template-loader.php(98): include(‘/home/nginx/dom…’) #3 /home/nginx/domains/mysite.com/public/wp-blog-header.php(19): require_once(‘/home/nginx/dom…’) #4 /home/nginx/domains/mysite.com/public/index.php(17): require(‘/home/nginx/dom…’) #5 {main} thrown in /home/nginx/domains/mysite.com/public/wp-content/plugins/td-composer/legacy/common/wp_booster/td_module_single_base.php on line 672

How can i fix this?

Post count: 18283

Hi,

Unfortunately there is a problem with the new option add in theme panel for disable the schema article, this interfere with preview draft, in order to fix this problem you’ll need to make some changes in theme file or deactivate the schema articles from here: https://www.screencast.com/t/0E3IucACC You will have to check that in order to deactivate the schema, this issue will be fixed in the next update.
The file are wp-content/plugins/td-composer/legacy/common/wp_booster/td_module_single_base.php -> https://i.imgur.com/EMWC74l.png add “|| is_preview()” -> https://i.imgur.com/78beFgC.png
wp-content/plugins/td-cloud-library/state/single/tdb_state_single.php
-> https://i.imgur.com/WIIKHSU.png -> https://www.screencast.com/t/VbigQIINRB
or you can send us an email at contact@tagdiv.com and provide admin login, as well as cPanel or FTP if possible. We will take a look and make the proper changes for you. Include a link to this topic in the email.

Thank you for your understanding!

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