Avatar

Level 1

I'm getting an uncaught exception with the code below and don't know why (account98 is my dev account). It's probably a silly error on my part, but I don't see it. Please help.

<?php

     require_once("afcs.php");

     $am = new AFCSAccount("https://connectnow.acrobat.com/account98");

?>

Here is the stack trace:

<b>Fatal error</b>:  Uncaught exception 'AFCSError' in /home/babblema/public_html/afcs.php:504
Stack trace:
#0 /home/babblema/public_html/afcs.php(387): AFCS-&gt;http_get('https://connect...', Array)
#1 /home/babblema/public_html/afcs.php(224): AFCSAccount-&gt;do_initialize()
#2 /home/babblema/public_html/service.php(16): AFCSAccount-&gt;__construct('https://connect...')
#3 {main}
  thrown in <b>/home/babblema/public_html/afcs.php</b> on line <b>504</b><br />