Title: Fatal error: Uncaught exception &#039;SimpleSAML_Error_UnserializableException&#039;
Last modified: August 22, 2016

---

# Fatal error: Uncaught exception 'SimpleSAML_Error_UnserializableException'

 *  [pragya87](https://wordpress.org/support/users/pragya87/)
 * (@pragya87)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-simplesaml_error_unserializableexception/)
 * Hi All,
    i did IdP and SP settings and enabled SAML authentication in WordPress.
   When i enter the URL [https://<my_ip>/wordpress/wp-admin](https://<my_ip>/wordpress/wp-admin)
   i am seeing an error:- Fatal error: Uncaught exception ‘SimpleSAML_Error_UnserializableException’
   with message ‘No private key found in metadata.’ in C:\xampp\htdocs\wordpress\
   wp-content\plugins\saml-20-single-sign-on\saml\lib\SimpleSAML\Auth\Default.php:
   62 Stack trace: #0 C:\xampp\htdocs\wordpress\wp-content\plugins\saml-20-single-
   sign-on\saml\lib\SimpleSAML\Auth\Simple.php(137): SimpleSAML_Auth_Default::initLogin(‘
   1’, ‘[http://localhos](http://localhos) <[http://localhos/&gt](http://localhos/&gt);…’,
   NULL, Array) #1 C:\xampp\htdocs\wordpress\wp-content\plugins\saml-20-single-sign-
   on\saml\lib\SimpleSAML\Auth\Simple.php(80): SimpleSAML_Auth_Simple->login(Array)#
   2 C:\xampp\htdocs\wordpress\wp-content\plugins\saml-20-single-sign-on\lib\classes\
   saml_client.php(51): SimpleSAML_Auth_Simple->requireAuth(Array) #3 [internal 
   function]: SAML_Client->authenticate(NULL) #4 C:\xampp\htdocs\wordpress\wp-includes\
   plugin.php(507): call_user_func_array(Array, Array) #5 C:\xampp\htdocs\wordpress\
   wp-includes\user.php(41): do_action_ref_array(‘wp_authenticate’, Array) #6 C:\
   xampp\htdocs\wordpress\wp-login.php(753): wp_sign in C:\xampp\htdocs\wordpress\
   wp-content\plugins\saml-20-single-sign-on\saml\lib\SimpleSAML\Auth\Default.php
   on line 62
 * i tried checking the trouble shooting steps from various other support forum 
   links
    Tried the solution mentioned on : 1)https://wordpress.org/support/topic/
   wordpress-asks-for-password 2)https://wordpress.org/support/topic/plugin-debug-
   bar-fatal-error-uncaught-exception-serialization-of-simplexmlelement-is-not-allowed
 * Nothing worked..
    Can someone please reply on it ASAP.its urgent ..!!
 * Thanks in advance..
 * [https://wordpress.org/plugins/saml-20-single-sign-on/](https://wordpress.org/plugins/saml-20-single-sign-on/)

The topic ‘Fatal error: Uncaught exception 'SimpleSAML_Error_UnserializableException'’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/saml-20-single-sign-on.svg)
 * [SAML 2.0 Single Sign-On](https://wordpress.org/plugins/saml-20-single-sign-on/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/saml-20-single-sign-on/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/saml-20-single-sign-on/)
 * [Active Topics](https://wordpress.org/support/plugin/saml-20-single-sign-on/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/saml-20-single-sign-on/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/saml-20-single-sign-on/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [pragya87](https://wordpress.org/support/users/pragya87/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-uncaught-exception-simplesaml_error_unserializableexception/)
 * Status: not resolved