Title: Error during setup
Last modified: August 21, 2016

---

# Error during setup

 *  Resolved [Wayne_12345](https://wordpress.org/support/users/wayne_12345/)
 * (@wayne_12345)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-during-setup/)
 * Hi there,
    I got the following error. I appreciate if you can help. My CAS Maestro
   Settings are CAS version = 2.0 Server hostname = auth-test.xyz.edu Server port
   = 443 Server path = /cas/login No mail creation (selected) Register all users?(
   selected) E-mail address
 * Thanks,
    Wayne
 * ————–Error———————-
    Warning: DOMDocument::loadXML() [domdocument.loadxml]: Empty
   string supplied as input in /nas/wp/www/staging/graddashboard/wp-content/plugins/
   cas-maestro/phpCAS/CAS/Client.php on line 2778 CAS Authentication failed!
 * You were not authenticated.
 * You may submit your request again by clicking here.
 * If the problem persists, you may contact the administrator of this site.
    phpCAS
   1.3.2 using server [https://auth-test.xyz.edu/cas/login/](https://auth-test.xyz.edu/cas/login/)(
   CAS 2.0)
 * Fatal error: Uncaught exception ‘CAS_AuthenticationException’ in /nas/wp/www/
   staging/graddashboard/wp-content/plugins/cas-maestro/phpCAS/CAS/Client.php:2780
   Stack trace: #0 /nas/wp/www/staging/graddashboard/wp-content/plugins/cas-maestro/
   phpCAS/CAS/Client.php(1224): CAS_Client->validateCAS20(‘[https://auth-te…&#8217](https://auth-te…&#8217);,”,
   NULL) #1 /nas/wp/www/staging/graddashboard/wp-content/plugins/cas-maestro/phpCAS/
   CAS/Client.php(1083): CAS_Client->isAuthenticated() #2 /nas/wp/www/staging/graddashboard/
   wp-content/plugins/cas-maestro/phpCAS/CAS.php(1101): CAS_Client->forceAuthentication()#
   3 /nas/wp/www/staging/graddashboard/wp-content/plugins/cas-maestro/cas-maestro.
   php(203): phpCAS::forceAuthentication() #4 [internal function]: CAS_Maestro->
   validate_login(Object(WP_Error), ”, ”) #5 /nas/wp/www/staging/graddashboard/wp-
   includes/plugin.php(192): call_user_func_array(Array, Array) #6 /nas/wp/www/staging/
   graddashboard/wp-includes/pluggable.php(537): apply_filters(‘authenticate’, NULL,”,”)#
   7 /nas/wp/www/staging/graddashboard/wp-includes/ in /nas/wp/www/staging/graddashboard/
   wp-content/plugins/cas-maestro/phpCAS/CAS/Client.php on line 2780
 * [https://wordpress.org/plugins/cas-maestro/](https://wordpress.org/plugins/cas-maestro/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Henrique Mouta](https://wordpress.org/support/users/vaurdan/)
 * (@vaurdan)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-during-setup/#post-4850552)
 * Hello.
 * What is your PHP version and your server OS?
 * It look likes to be a backwards compatibility problem with phpCAS 1.3.2 and CAS
   Server versions lesse than, but not including, 3.5.2. ( check bug report at [https://github.com/Jasig/phpCAS/issues/92](https://github.com/Jasig/phpCAS/issues/92))
 * Please let me know what CAS Server version you are using so I can try to get 
   a fix for this problem.
 * The solution may be including the option to choose a older version of phpCAS 
   library, but there are some security issues with that approach… What I would 
   recomend is to update your CAS Server.
 * Regards,
    Henrique
 *  Thread Starter [Wayne_12345](https://wordpress.org/support/users/wayne_12345/)
 * (@wayne_12345)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-during-setup/#post-4850625)
 * Hi Henrique,
    PHP Version is 5.3.2-1ubuntu4.18. More setting can be found at 
   [http://phpinfo.wpengine.com/info.php](http://phpinfo.wpengine.com/info.php) 
   Thanks a lot, Wayne
 *  Plugin Author [Henrique Mouta](https://wordpress.org/support/users/vaurdan/)
 * (@vaurdan)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/error-during-setup/#post-4850648)
 * Hello.
    The problem looks like that your CAS server is returning a invalid response…
   Please, activate the debug mode with the following steps:
    1. Edit your wp-config.php and add the following line:
        `define('CAS_MAESTRO_DEBUG_ON',
       true);`
    2. This will generate a log in yoursite.com/wp-content/plugins/cas-maestro/debug.
       log when you try to login using CAS.
    3. Please try to reproduce the bug and send me the log (link or a saved version)
       to [henrique@mowta.pt](https://wordpress.org/support/topic/error-during-setup/henrique@mowta.pt?output_format=md)
 * Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error during setup’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cas-maestro_009fe3.svg)
 * [CAS Maestro](https://wordpress.org/plugins/cas-maestro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cas-maestro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cas-maestro/)
 * [Active Topics](https://wordpress.org/support/plugin/cas-maestro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cas-maestro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cas-maestro/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Henrique Mouta](https://wordpress.org/support/users/vaurdan/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/error-during-setup/#post-4850648)
 * Status: resolved