Hi.
I use one of the single post templates for my posts. When I try to add an article date to the template I get an error :
Fatal error: Uncaught Error: Call to a member function format() on boolean in /var/www/amagernyt.dk/public_html/wp-content/plugins/td-cloud-library/state/single/tdb_state_single.php:777 Stack trace: #0 /var/www/amagernyt.dk/public_html/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_date.php(130): tdb_state_single->{closure}() #1 /var/www/amagernyt.dk/public_html/wp-content/plugins/td-cloud-library/shortcodes/single/tdb_single_date.php(130): Closure->__invoke() #2 /var/www/amagernyt.dk/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php(27): tdb_single_date->render(Array, ”) #3 /var/www/amagernyt.dk/public_html/wp-includes/shortcodes.php(325): td_global_blocks::proxy_function(”, ”, ‘tdb_single_date’) #4 [internal function]: do_shortcode_tag(Array) #5 /var/www/amagernyt.dk/public_html/wp-includes/shortcodes.php(199): preg_replace_callback(‘/\\[(\\[?)(tdb_si…’, ‘do_shortcode_ta…’, ‘[tdb_single_aut…’) #6 /var/www/amagernyt.dk/public_html/wp-content/plugins/td-com in /var/www/amagernyt.dk/public_html/wp-content/plugins/td-cloud-library/state/single/tdb_state_single.php on line 777
Why is that ?
Hi,
Did you made some changes in theme files ?
Please deactivate and delete tagDiv Cloud Library, after that install it from here -> https://i.imgur.com/t8z2K01.png
Make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv plugins, also if you are using child theme, cache plugin or CDN, deactivate them, clear all cache and try again.
Thank you!
Just tried it again with another template.As soon as the template includes a auther and the date it hangs when you try to preview the post. If I publish the post it works fine and the post is shown right, but no preview.
I get this error.
https://www.dropbox.com/s/4vxu6tx8yzukd9v/Capture_view.PNG?dl=0
If I uninstall the library function won’t I loose the templates I already have created ?
Hi,
Unfortunately I can not manage to recreate the problem on my install, may this is only on some cases or if you have same settings.
All cloud templates are saved in database like the settings from theme panel and these made using tagDiv Composer, therefore if you delete the theme or theme plugins, these will not be lost (in this way it made the update for theme).
Also make sure that you have the last version, Newspaper v10.3.5 and you do not have a plugin conflict.
Let me know the results!
Thank you!