Fatal Error on "Preview"

Posted in: Newspaper
Post count: 63

Every time I try to preview a Post before publishing, I get a fatal error and the preview does not display properly. The error I get is:

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

My website is GoingFor2.com.

Post count: 63

Here is what it looks like in preview. It seems to only do it when the post is in “draft”. If the post has already been published or even if its “scheduled” the preview works fine.

Post count: 1

Hi,
This exact same thing is happening to me too.
Dis you found a solutions?

Sorry, my mistake.

Post count: 63

No. I haven’t been able to figure it out and no one has answered me yet.

Post count: 35449

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!

Post count: 63

A work around currently is to put the post in “pending” or “scheduled” and then hit preview. It only messes up when it’s in draft.

Post count: 35449

Hi GoingFor2,

If you want, you can send us an email at contact@tagdiv.com and provide admin login and we will take a look and make the proper changes for you. Include a link to this topic in the email.

Thank you!

Post count: 63

Email sent. Thank you.

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