- Visit your site's homepage at least one time
- Remove the code
Once you complete these steps, then you have to remove the keys "wpml_string_table_ok_for_mo_import" and "wpml_notices" from the options table (by default wp_options, where "wp_" is your database prefix), and all errors should be gone.
Please give it a try and let us know if it works for you. We're looking forward to your reply. Thanks!