<b>Background of the issue: </b>
I am trying to import data via WP-CLI but it causes database errors. This issue started happening after the latest update.
I checked the database and both tables exist, so the problem must be related to running the update from WP CLI.
<b>Symptoms: </b>
I got errors from the WP-CLI command. The following two errors are reported numerous times:
WordPress database error Table 'pylaimmobilier.wp_icl_links_post_to_post' doesn't exist for query SELECT id_to FROM wp_icl_links_post_to_post WHERE id_from = 820 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPMLUserInterfaceWebInfrastructureWordPressCompositionRootConfigEventTranslationLinksItemUpdateEvent->WPMLUserInterfaceWebInfrastructureWordPressCompositionRootConfigEventTranslationLinks{closure}, WPMLInfrastructureWordPressComponentTranslationApplicationEventLinksItemUpdateEventListenerAdapter->onShutdown, WPMLCoreComponentTranslationApplicationEventLinksItemUpdateListener->onItemSave, WPMLCoreComponentTranslationDomainLinksHandleUpdateOriginal->handle, WPMLCoreComponentTranslationDomainLinksHandleUpdateOriginal->collectRelationships, WPMLInfrastructureWordPressComponentTranslationDomainLinksRepository->getToItemsByFromItem
and
WordPress database error Table 'pylaimmobilier.wp_icl_links_post_to_term' doesn't exist for query SELECT id_to FROM wp_icl_links_post_to_term WHERE id_from = 820 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WPMLUserInterfaceWebInfrastructureWordPressCompositionRootConfigEventTranslationLinksItemUpdateEvent->WPMLUserInterfaceWebInfrastructureWordPressCompositionRootConfigEventTranslationLinks{closure}, WPMLInfrastructureWordPressComponentTranslationApplicationEventLinksItemUpdateEventListenerAdapter->onShutdown, WPMLCoreComponentTranslationApplicationEventLinksItemUpdateListener->onItemSave, WPMLCoreComponentTranslationDomainLinksHandleUpdateOriginal->handle, WPMLCoreComponentTranslationDomainLinksHandleUpdateOriginal->collectRelationships, WPMLInfrastructureWordPressComponentTranslationDomainLinksRepository->getToItemsByFromItem
<b>Questions: </b>
Why am I getting database errors when importing data via WP-CLI after the latest update?
How can I resolve the issue with the tables not being recognized by WP-CLI?
Note that I am using 10.6.21-MariaDB-ubu2204 and not Mysql 5.5
Welcome to the WPML support forum. Before passing this thread to my colleague, I would like to share some suggestions and possible solutions for the issues you mentioned.
Sorry for the late response because of the holidays and the high support load. It is not normal here. Thank you for your kind understanding.
The *wp_icl_links_post_to_term* looks like a table created as a part of custom work or is from another plugin or theme. Becuase WPML doesn't have a table called *wp_icl_links_post_to_term* or *wp_icl_links*.
Please refer to the following links for more details and let us know your feedback.
The topic ‘[Closed] Database error after latest update’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.