Support » Fixing WordPress » Fatal error upon activating WPML Multilingual CMS – call for undefined method

  • I got a fatal error upon activating WPML Multilingual CMS and can’t log back into my backend:

    Fatal error: Uncaught Error: Call to undefined method stdClass::is_enabled() in /home/www/accecowp/wp-content/plugins/bak.sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-settings.php:346 Stack trace: #0 /home/www/accecowp/wp-content/plugins/bak.sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-inline-styles.php(274): WPML_LS_Settings->get_active_slots() #1 /home/www/accecowp/wp-content/plugins/bak.sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-admin-ui.php(105): WPML_LS_Inline_Styles->admin_output() #2 /home/www/accecowp/wp-includes/class-wp-hook.php(286): WPML_LS_Admin_UI->admin_head_action(”) #3 /home/www/accecowp/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #4 /home/www/accecowp/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #5 /home/www/accecowp/wp-admin/admin-header.php(144): do_action(‘admin_head’) #6 /home/www/accecowp/wp-admin/plugins.php(459): require_once(‘/home/www/accec…’) #7 {main} thrown in /home/www/accecowp/wp-content/plugins/bak.sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-settings.php on line 346

    Can anyone untangle me please?
    Thank you!

Viewing 1 replies (of 1 total)
  • Use FTP or your host control panel File Manager to delete the wp-content/plugins/bak.sitepress-multilingual-cms folder.
    Then you can get back into the admin to install a different version.
    Be sure to tell the plugin author about the error, so it can be fixed.

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error upon activating WPML Multilingual CMS – call for undefined method’ is closed to new replies.