Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-28136

undefined variable when using moodle_user_get_users_by_id web service

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.1
    • 2.1
    • Web Services
    • None

      Aparup:

      for : XML-RPC protocol: moodle_user_get_users_by_id

      URL: http://aparup.moodle.local/m20/mysql/moodle/webservice/xmlrpc/server.php?wstoken=3f3d0c0b10fb49ad897cb4d500bb0aae
      Warning: SimpleXMLElement::__construct(): Entity: line 2: parser error : Start tag expected, '<' not found in /home/aparup/mcode/m20/mysql/moodle/lib/zend/Zend/XmlRpc/Response.php on line 180 Call Stack: 0.0005 727808 1.

      {main}() /home/aparup/mcode/m20/mysql/moodle/admin/webservice/testclient.php:0 0.9973 87215896 2. webservice_xmlrpc_test_client->simpletest() /home/aparup/mcode/m20/mysql/moodle/admin/webservice/testclient.php:154 1.0045 88637608 3. Zend_XmlRpc_Client->call() /home/aparup/mcode/m20/mysql/moodle/webservice/xmlrpc/locallib.php:72 1.2948 89878856 4. Zend_XmlRpc_Client->doRequest() /home/aparup/mcode/m20/mysql/moodle/lib/zend/Zend/XmlRpc/Client.php:361 1.6612 89893424 5. Zend_XmlRpc_Response->loadXml() /home/aparup/mcode/m20/mysql/moodle/lib/zend/Zend/XmlRpc/Client.php:297 1.6612 89893968 6. SimpleXMLElement->_construct() /home/aparup/mcode/m20/mysql/moodle/lib/zend/Zend/XmlRpc/Response.php:180 Warning: SimpleXMLElement::_construct(): Notice: Undefined variable: canviewdetailscap in /home/aparup/mcode/m20/mysql/mo in /home/aparup/mcode/m20/mysql/moodle/lib/zend/Zend/XmlRpc/Response.php on line 180 Call Stack: 0.0005 727808 1. {main}

      () /home/aparup/mcode/m20/mysql/moodle/admin/webservice/testclient.php:0 0.9973 87215896 2. webservice_xmlrpc_test_client->simpletest() /home/aparup/mcode/m20/mysql/moodle/admin/webservice/testclient.php:154 1.0045 88637608 3. Zend_XmlRpc_Client->call() /home/aparup/mcode/m20/mysql/moodle/webservice/xmlrpc/locallib.php:72 1.2948 89878856 4. Zend_XmlRpc_Client->doRequest() /home/aparup/mcode/m20/mysql/moodle/lib/zend/Zend/XmlRpc/Client.php:361 1.6612 89893424 5. Zend_XmlRpc_Response->loadXml() /home/aparup/mcode/m20/mysql/moodle/lib/zend/Zend/XmlRpc/Client.php:297 1.6612 89893968 6. SimpleXMLElement->_construct() /home/aparup/mcode/m20/mysql/moodle/lib/zend/Zend/XmlRpc/Response.php:180 Warning: SimpleXMLElement::_construct(): ^ in /home/aparup/mcode/m20/mysql/moodle/lib/zend/Zend/XmlRpc/Response.php on line 180 Call Stack: 0.0005 727808 1.

      {main}() /home/aparup/mcode/m20/mysql/moodle/admin/webservice/testclient.php:0 0.9973 87215896 2. webservice_xmlrpc_test_client->simpletest() /home/aparup/mcode/m20/mysql/moodle/admin/webservice/testclient.php:154 1.0045 88637608 3. Zend_XmlRpc_Client->call() /home/aparup/mcode/m20/mysql/moodle/webservice/xmlrpc/locallib.php:72 1.2948 89878856 4. Zend_XmlRpc_Client->doRequest() /home/aparup/mcode/m20/mysql/moodle/lib/zend/Zend/XmlRpc/Client.php:361 1.6612 89893424 5. Zend_XmlRpc_Response->loadXml() /home/aparup/mcode/m20/mysql/moodle/lib/zend/Zend/XmlRpc/Client.php:297 1.6612 89893968 6. SimpleXMLElement->__construct() /home/aparup/mcode/m20/mysql/moodle/lib/zend/Zend/XmlRpc/Response.php:180 exception 'Zend_XmlRpc_Client_FaultException' with message 'Failed to parse response' in /home/aparup/mcode/m20/mysql/moodle/lib/zend/Zend/XmlRpc/Client.php:370
      Stack trace:
      #0 /home/aparup/mcode/m20/mysql/moodle/webservice/xmlrpc/locallib.php(72): Zend_XmlRpc_Client->call('moodle_user_get...', Array)
      #1 /home/aparup/mcode/m20/mysql/moodle/admin/webservice/testclient.php(154): webservice_xmlrpc_test_client->simpletest('http://aparup.m...', 'moodle_user_get...', Array)
      #2 {main}

            dongsheng Dongsheng Cai
            dongsheng Dongsheng Cai
            Aparup Banerjee Aparup Banerjee
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Dongsheng Cai Dongsheng Cai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.