Tell us what you are trying to do?
Display the WPML menu on the website.
Is there any documentation that you are following?
No
Is there a similar example that we can see?
No
What is the link to your site? hidden link
Following the website migration to a new server, we are now receiving the following error - ERR_CERT_COMMON_NAME_INVALID.
It appears that the CSS stylesheets are not being loaded correctly as a result, leading to an unstyled menu. The SSL certificate appears to be fine however and the website is loading normally.
I checked your website and the certificate seems to be valid. However, can you please explain more about it that where and when you receive this error? I checked in browser console and network tab and couldn't find anything like this.
For the WPML Language Switcher, I don't se one in the menu, but at bottom (in the footer) and it seems to work fine.
On the other hand I'll advise to fix the followings in your site (as per the debug information):
IMPORTANT: Take full backup of your website and database beforehand.
1) Fix "WP Memory Limit" to at least 128MB while 256MB is recommended. You can fix this in your wp-config.php file by adding following code: