WordPress 5.3.2
NewspaperVersion: 10.2
screenshot – https://www.screencast.com/t/RYkaYYsj
But Frontend works well.
How to solve this bug?
After update up to ver. 10.2 it’s not possible to preview post in the Draft mode.
I’ve enabled debug mode.
Errors:
Fatal error: Uncaught Error: Call to a member function format() on boolean in —my-site-here-replaced—-/httpdocs/wp-content/plugins/td-composer/legacy/common/wp_booster/td_module_single_base.php:672 Stack trace: #0 —my-site-here-replaced—-/httpdocs/wp-content/plugins/td-standard-pack/Newspaper/parts/single/loop-single-6.php(32): td_module_single_base->get_item_scope_meta() #1 —my-site-here-replaced—-/httpdocs/wp-content/plugins/td-standard-pack/Newspaper/parts/single/single_template_6.php(81): require_once(‘/var/www/vhosts…’) #2 —my-site-here-replaced—-/httpdocs/wp-includes/template-loader.php(98): include(‘/var/www/vhosts…’) #3 —my-site-here-replaced—-/httpdocs/wp-blog-header.php(19): require_once(‘/var/www/vhosts…’) #4 —my-site-here-replaced—-/httpdocs/index.php(17): require(‘/var/www/vhosts…’) #5 {main} thrown in —my-site-here-replaced—-/httpdocs/wp-content/plugins/td-composer/legacy/common/wp_booster/td_module_single_base.php on line 672
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!