This thread is resolved. Here is a description of the problem and solution.
Problem: I have this error
Uncaught Error: Call to undefined method stdClass::is_enabled() in /wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-settings.php:346
Solution: deleting the wpml_language_switcher entry from wp_options fixes the issue
Relevant Documentation: https://wpml.org/forums/topic/server-500-error-2/#post-2802309
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.