Undefined array key "tdb_templates" in tdb_functions.php

Posted in: Newspaper
Post count: 6

Hello,

I am having an issue with using WPML along with Newspaper theme. Sites cannot be created using tagDiv Composer and category view is broken, possibly because of the error that appears on top of the page:

Undefined array key "tdb_templates" in /wp_path/public_html/wp-content/plugins/td-cloud-library/includes/tdb_functions.php on line 518

I would be grateful for any suggestions.

Kind regards

Post count: 21065

Hello @rolv!

Make a test and deactivate ALL plugins except tagDiv ones, also if you are using a cache plugin, deactivate it, clear all cache and try again.
Examine some other potential interfering factors: https://forum.tagdiv.com/general-options-may-interfere-newspaper-theme/
If that problem is still there, then please execute these steps:
1. deactivate TagDiv Composer & Cloud Library
2. uninstall (delete) TagDiv Composer & Cloud Library
3. clear cache (if a cache plugin is present).
4. install TagDiv Composer & Cloud Library
5. activate TagDiv Composer & Cloud Library
6. clear cache (if a cache plugin is present).

I hope that helps you!

Thank you!

Post count: 6

Hello Bettina,

The issue still persists if WPML plugin is enabled. I understand that this is a compatibility issue with WPML? Disabling WPML plugin is not an option, I am sorry.

Post count: 21065

Hello @rolv!

We have some issues with WPML, which we hope we can manage to fix.
We would like to investigate your issue too.
Please contact us via email at contact@tagdiv.com and provide the following:
– admin url and credentials
– cpanel url and credentials
– a link to this topic in order to identify you

Thank you!

Post count: 6

When I comment out the conditionial check for “SitePress”, the issue is gone. This is a workaround most probably and may break something else.

if (class_exists('SitePress', false )) {
global $sitepress;
$sitepress_settings = $sitepress->get_settings();
$translation_mode = (int) $sitepress_settings['custom_posts_sync_option'][ 'tdb_templates'];
if ( 1 === $translation_mode ) {
$option_id .= $sitepress->get_current_language();
}
}

Post count: 6

Please let me know if there’s any update on that.

Thank you

Post count: 21065

Hello @rolv!

There is no update.

Thank you!

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