Resolved in: 3.6.3
This issue occurs when WPML is activated but its setup is not completed.
The error message starts with: PHP Fatal error: Uncaught exception ‘InvalidArgumentException’ with message ‘Argument $language_code must a non empty string.
This issue will be fixed in a future release version. However, the problem is quickly resolved by deactivating WPML plugin or completing the setup wizard.