User.get throws error with get_access

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Major
    • 1.9.0 (alpha)
    • Affects Version/s: 1.9.0 (alpha)
    • Component/s: API (A)
    • None

      The following is the JSON call and resulting response

      Sending:{"jsonrpc": "2.0", "method":"user.get", "params":

      {"get_access":true}

      , "auth":"66f09120cd5793ae8e8212b12e3ddc1a", "id":6}
      Response:

      The following was found in the Apache error log:
      [Mon Sep 21 23:46:52 2009] [error] [client 192.168.1.10] PHP Fatal error: Unsupported operand types in /var/www/html/api/classes/class.
      cuser.php on line 236
      [Mon Sep 21 23:46:52 2009] [error] [client 192.168.1.10] PHP Stack trace:
      [Mon Sep 21 23:46:52 2009] [error] [client 192.168.1.10] PHP 1.

      {main}

      () /var/www/html/api_jsonrpc.php:0
      [Mon Sep 21 23:46:52 2009] [error] [client 192.168.1.10] PHP 2. CJSONrpc->process() /var/www/html/api_jsonrpc.php:53
      [Mon Sep 21 23:46:52 2009] [error] [client 192.168.1.10] PHP 3. CJSONrpc->execute() /var/www/html/api/rpc/class.cjsonrpc.php:58
      [Mon Sep 21 23:46:52 2009] [error] [client 192.168.1.10] PHP 4. czbxrpc::call() /var/www/html/api/rpc/class.cjsonrpc.php:106
      [Mon Sep 21 23:46:52 2009] [error] [client 192.168.1.10] PHP 5. call_user_func() /var/www/html/api/rpc/class.czbxrpc.php:53
      [Mon Sep 21 23:46:52 2009] [error] [client 192.168.1.10] PHP 6. czbxrpc::user() /var/www/html/api/rpc/class.czbxrpc.php:0
      [Mon Sep 21 23:46:52 2009] [error] [client 192.168.1.10] PHP 7. call_user_func() /var/www/html/api/rpc/class.czbxrpc.php:92
      [Mon Sep 21 23:46:52 2009] [error] [client 192.168.1.10] PHP 8. CUser::get() /var/www/html/api/rpc/class.czbxrpc.php:0

            Assignee:
            Unassigned
            Reporter:
            nelsonab
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: