I am running Newspaper theme version 12.7.1 and am getting a persistent PHP notice in my logs:
PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the td-cloud-library domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later.
I have already performed extensive troubleshooting with an active child theme, but the notice cannot be resolved externally. We have confirmed that:
Loading the text domain via load_plugin_textdomain() on the init hook does not fix it.
Loading the text domain via a direct-path load_textdomain() on the init hook (with priority 99) does not fix it.
Attempting to unload_textdomain() and then reload it on the init hook also does not fix it.
This proves the td-cloud-library plugin is making a hard-coded call to a translation function before the init hook fires, making it impossible to override from a child theme.
Please escalate this to your development team to have the text domain loading function within the td-cloud-library plugin moved to the init action hook to comply with modern WordPress standards and resolve this notice.
Thank you.
Hi,
This notice will be resolved in the coming theme update, but until then if you want you can get the plugin td cloud library with the fix from here – https://cdn.tagdiv.com/wp-content/uploads/2025/07/td-cloud-library.zip this should be used only with Newspaper v12.7.1
Thank you!
Hi,
That plugin should resolve the problem with the notice “_load_textdomain_just_in_time” please install the plugin and see if that error is still displaing https://cdn.tagdiv.com/wp-content/uploads/2025/07/td-cloud-library.zip
Maybe the file that you mentioned is an error log file.
Hi,
I just tried it on my install – https://i.imgur.com/IL8Df1B.png – https://i.imgur.com/4opQeHt.png – https://i.imgur.com/Dnr7NMT.png
Can you please try again? use the plugin from this link https://cdn.tagdiv.com/wp-content/uploads/2025/07/td-cloud-library.zip
Thank you, that fixed it but caused a new issue we never had before:
WordPress database error Commands out of sync; you can’t run this command now for query SELECT option_value FROM wp_options WHERE option_name = ‘wc_pending_batch_processes’ LIMIT 1 made by shutdown_action_hook, do_action(‘shutdown’), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\WooCommerce\Internal\BatchProcessing\BatchProcessingController->Automattic\WooCommerce\Internal\BatchProcessing\{closure}, Automattic\WooCommerce\Internal\BatchProcessing\BatchProcessingController->remove_or_retry_failed_processors, Automattic\WooCommerce\Internal\BatchProcessing\BatchProcessingController->get_enqueued_processors, get_option
Do you want me to give you access to our server??
Hi,
Here is a similar situation – https://wordpress.org/support/topic/some-errors-after-migrations-and-use-hpos/page/2/
This problem appears after the tagDiv plugin was replaced with the one from the above link? Hmmm, I have the same version and I do not have any conflict with the WooCommerce plugin. If you want, we can take a look and see if we can identify something, for this make sure that you have a complete backup for your website and contact us via email at contact@tagdiv.com and provide temporary wp-admin access. We’ll check it out as soon as possible.
Thank you!
