why this error:In order to use the Session class you are required to set an encryption key in your config file.
This error is showing becuase of encryptionkey missing in the config.php please add the below value for this $config[‘encryption_key’] = ‘safdafdsafdsafdsa323432432’; Answer: In order to use the Session class you are required to set an encryption key in your config file.