Today I upgraded WPML to the latest version on my WordPress multisite (support.kialo-edu.com is the subsite, kialotest.tempurl.host the network site itself). It hadn't been updated for a while it seems, because the site wasn't properly registered with WPML.
I upgraded the main plugin WPML Multilingual CMS from 4.5.8 to 4.6.3.
Since then my server's error log is full of messages like these:
[27-Mar-2023 15:43:12 UTC] WordPress database error Table 'kialotest.wp_lt_4_icl_background_task' doesn't exist for query SELECT * FROM wp_lt_4_icl_background_task WHERE task_status IN ('1','0','2') AND 1=1 made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('wp_loaded'), WP_Hook->do_action, WP_Hook->apply_filters, WPML\LIB\WP\Hooks::WPML\LIB\WP\{closure}, WPML\FP\Promise->resolve, WPML\FP\Right->chain, WPML\FP\Right->map, WPML\BackgroundTask\BackgroundTaskLoader->WPML\BackgroundTask\{closure}, WPML\BackgroundTask\BackgroundTaskLoader->getSerializedTasks, WPML\Core\BackgroundTask\Repository\BackgroundTaskRepository->getAllRunnableTasks, WPML\Core\BackgroundTask\Repository\BackgroundTaskRepository->getAllByTaskStatus
The site doesn't seem to be broken, luckily. But the error messages worry me. What should I do?
Thanks for contacting WPML forums support. I'll be glad to help you today.
Please go to your database and check if the "icl_background_task" table exists. If it doesn't exist, please create it manually and check if the issue persists. (hidden link)