Fatal error: Cannot redeclare tdb_comment()

Posted in: Newspaper
Post count: 3

Hi,

I have a problem with some posts on my site:

Fatal error: Cannot redeclare tdb_comment() (previously declared in /var/www/chroot/dziennikzwiazkowy/web_new/wp-content/plugins/td-cloud-library/parts/tdb-comments.php:134) in /var/www/chroot/dziennikzwiazkowy/web_new/wp-content/plugins/td-cloud-library/parts/tdb-comments.php on line 134

Screen: https://cl.ly/ae1b0295ac0c/Image%202019-12-23%20at%2010.17.16%20AM.png
Screen2: https://cl.ly/73a7f8867cb4/Image%202019-12-23%20at%2010.26.14%20AM.png

Can you help me to fix it?

Post count: 18283

Hello!

Please make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv ones, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.

Thank you !

Post count: 3

I’m having the same problem with this error.

Fatal error: Cannot redeclare tdb_comment() (previously declared in /home/customer/www/andchristina.com/public_html/wp-content/plugins/td-cloud-library/parts/tdb-comments.php:134) in /home/customer/www/andchristina.com/public_html/wp-content/plugins/td-cloud-library/parts/tdb-comments.php on line 134

I deactivated all plugins except tagDiv, cleared the cache, and I’m still getting the same error.

Also confirming it appears to be mainly affecting posts (pages, categories appear unaffected).

Post count: 3

I’m also seeing this text inserted in the actual dashboard, when I click into posts (Posts > All Posts) right above the All Posts section

l(“https://fonts.googleapis.com/css?family=Montserrat:400|Open+Sans:300italic,400,400italic,600,600italic,700|Roboto:300,400,400italic,500,500italic,700,900&display=swap”); @import url(“https://fonts.googleapis.com/css?family=Yeseva+One:400|Open+Sans:300italic,400,400italic,600,600italic,700|Roboto:300,400,400italic,500,500italic,700,900&display=swap”); .td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db .wp-caption-text, .td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db figcaption{ margin: 10px 0 20px 0; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db, .td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db > p{ font-family:Montserrat !important;font-size:16px !important;line-height:1.6 !important;font-weight:400 !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db h1{ font-family:Yeseva One !important;font-weight:400 !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db h2{ font-family:Yeseva One !important;font-weight:400 !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db h3{ font-family:Yeseva One !important;font-weight:400 !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db h4{ font-family:Yeseva One !important;font-weight:400 !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db h5{ font-family:Yeseva One !important;font-weight:400 !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db h6{ font-family:Yeseva One !important;font-weight:400 !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db li{ font-family:Montserrat !important;font-size:16px !important;line-height:1.6 !important;font-weight:400 !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db li:before{ margin-top: 1px; line-height: 25.6px !important; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db blockquote p{ font-family:Yeseva One !important;font-size:32px !important;line-height:1.4 !important;font-weight:400 !important; color: #e3b4b4; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db, .td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db p{ color: #444444; }.td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db a{ color: #e3b4b4; } /* portrait */ @media (min-width: 768px) and (max-width: 1018px){ .td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db, .td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db > p{ font-family:Montserrat !important;font-size:15px !important;line-height:1.6 !important;font-weight:400 !important; } } /* phone */ @media (max-width: 767px){ .td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db, .td-gutenberg-editor .editor-styles-wrapper .wp-block2_7db > p{ font-family:Montserrat !important;font-size:14px !important;line-height:1.6 !important;font-weight:400 !important; } }

Post count: 3

@jasiu1324 I figured out the issue!

I was editing my single cloud post template and I wanted to duplicate a section of the sidebar. When I duplicated that sidebar section, it actually copied the entire row (including the main portion of the page), and so it duplicated the comments section. That’s what caused the posts page to try to call the tdb_comment() function twice, which caused the error.

Check your cloud template and make sure you haven’t duplicated the comment block!

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