Background of the issue:
I am trying to reset WPML and encountered an error. I have run the following code to fix the issue: function wpml_fix_missing_icl_tables() { if( function_exists( 'icl_sitepress_activate' ) ) icl_sitepress_activate(); } add_action( 'wp_footer', 'wpml_fix_missing_icl_tables' ); The issue can be seen on this page: קישור נסתר
Symptoms:
After resetting WPML, I get the error: 'We have detected a problem with some tables in the database. Table 'elearninginclude_wp617.wpx6_icl_strings' doesn't exist.'
Questions:
How can I fix the missing table error after resetting WPML?
Why is the code I implemented not resolving the issue?