Warning: session_start(): Cannot start session when headers already sent in /var/www/host37/data/www/host37.ru/wp-content/plugins/mlm-soft-integration/classes/class.mlmsoft.php on line 397

Warning: session_start(): Cannot start session when headers already sent in /var/www/host37/data/www/host37.ru/wp-content/plugins/mlm-soft-integration/classes/class.mlmsoft.php on line 397
$params array(3)
'headers' => array(3)
'Content-Type' => string(16) "application/json"
'App-Id' => integer1
'Security-Key' => string(32) "31d85500280b365aaeea57049677b952"
'method' => string(4) "POST"
'body' => string(232) "{"login":"slavmart37@mail.ru","password":"111111","sponsorId":3,"profile":{"firs…"
  • contents
  • JSON
  • {"login":"slavmart37@mail.ru","password":"111111","sponsorId":3,"profile":{"firstname":"\u041f\u0435\u0442\u0440","lastname":"\u0418\u0432\u0430\u043d\u043e\u0432crbq","email":"petr@mail.com","phone":"+7222222222","countryId":"RU"}}
  • 'login' => string(18) "slavmart37@mail.ru"
    'password' => string(6) "111111"
    'sponsorId' => integer3
    'profile' => array(5)
    'firstname' => string UTF-8(4) "Петр"
    'lastname' => string UTF-8(10) "Ивановcrbq"
    'email' => string(13) "petr@mail.com"
    'phone' => string(11) "+7222222222"
    'countryId' => string(2) "RU"
$reqRes array(6)
'headers' => Requests_Utility_CaseInsensitiveDictionary(1)
  • contents
  • Available methods (7)
  • Iterator contents (6)
  • protected data -> array(6)
    'server' => string(13) "nginx/1.17.10"
    'date' => string(29) "Tue, 26 Jan 2021 14:08:20 GMT"
    'content-type' => string(31) "application/json; charset=UTF-8"
    'vary' => string(15) "Accept-Encoding"
    'strict-transport-security' => string(35) "max-age=15724800; includeSubDomains"
    'content-encoding' => string(4) "gzip"
  • public __construct(array $data = array())
    Creates a case insensitive dictionary.
    
    @param array $data Dictionary/map to convert to case-insensitive
    
    Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:28
    public getAll() -> array Header data
    Get the headers as an array
    
    @return array Header data
    
    Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:100
    public getIterator() -> ArrayIterator
    Get an iterator for the data
    
    @return ArrayIterator
    
    Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:91
    public offsetExists($key) -> boolean Does the item exist?
    Check if the given item exists
    
    @param string $key Item key
    @return boolean Does the item exist?
    
    Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:40
    public offsetGet($key) -> string Item value
    Get the value for the item
    
    @param string $key Item key
    @return string Item value
    
    Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:51
    public offsetSet($key, $value)
    Set the given item
    
    @throws Requests_Exception On attempting to use dictionary as list (`invalidset`)
    
    @param string $key Item name
    @param string $value Item value
    
    Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:68
    public offsetUnset($key)
    Unset the given header
    
    @param string $key
    
    Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:82
  • 'server' => string(13) "nginx/1.17.10"
    'date' => string(29) "Tue, 26 Jan 2021 14:08:20 GMT"
    'content-type' => string(31) "application/json; charset=UTF-8"
    'vary' => string(15) "Accept-Encoding"
    'strict-transport-security' => string(35) "max-age=15724800; includeSubDomains"
    'content-encoding' => string(4) "gzip"
'body' => string(204) "{"errorCode":0,"errorMessage":null,"primary":{"success":true,"message":"Request …"
  • contents
  • JSON
  • {"errorCode":0,"errorMessage":null,"primary":{"success":true,"message":"Request queued successfully","payload":{"queueRequest":1,"documentId":3144},"errors":[],"debug":[]},"secondary":[],"locale":"ru-RU"}
  • 'errorCode' => integer0
    'errorMessage' => NULL
    'primary' => array(5)
    'success' => boolTRUE
    'message' => string(27) "Request queued successfully"
    'payload' => array(2)
    'queueRequest' => integer1
    'documentId' => integer3144
    'errors' => array(0)
    'debug' => array(0)
    'secondary' => array(0)
    'locale' => string(5) "ru-RU"
'response' => array(2)
'code' => integer200
'message' => string(2) "OK"
'cookies' => array(0)
'filename' => NULL
'http_response' => WP_HTTP_Requests_Response(5)
  • contents
  • Available methods (12)
  • protected response -> Requests_Response(10)
    • contents
    • Available methods (3)
    • public body -> string(204) "{"errorCode":0,"errorMessage":null,"primary":{"success":true,"message":"Request …"
      • contents
      • JSON
      • {"errorCode":0,"errorMessage":null,"primary":{"success":true,"message":"Request queued successfully","payload":{"queueRequest":1,"documentId":3144},"errors":[],"debug":[]},"secondary":[],"locale":"ru-RU"}
      • 'errorCode' => integer0
        'errorMessage' => NULL
        'primary' => array(5)
        'success' => boolTRUE
        'message' => string(27) "Request queued successfully"
        'payload' => array(2)
        *DEPTH TOO GREAT*
        'errors' => array(0)
        'debug' => array(0)
        'secondary' => array(0)
        'locale' => string(5) "ru-RU"
      public raw -> string(488) "HTTP/1.1 200 OK Server: nginx/1.17.10 Date: Tue, 26 Jan 2021 14:08:20 GMT Conten…"
      HTTP/1.1 200 OK
      Server: nginx/1.17.10
      Date: Tue, 26 Jan 2021 14:08:20 GMT
      Content-Type: application/json; charset=UTF-8
      Transfer-Encoding: chunked
      Connection: close
      Vary: Accept-Encoding
      Strict-Transport-Security: max-age=15724800; includeSubDomains
      Content-Encoding: gzip
      
      {"errorCode":0,"errorMessage":null,"primary":{"success":true,"message":"Request queued successfully","payload":{"queueRequest":1,"documentId":3144},"errors":[],"debug":[]},"secondary":[],"locale":"ru-RU"}
      public headers -> Requests_Response_Headers(1)
      • contents
      • Available methods (9)
      • Iterator contents (6)
      • protected data -> array(6)
         0
        "server""nginx/1.17.10"
        "date""Tue, 26 Jan 2021 14:08:20 GMT"
        "content-type""application/json; charset=UTF-8"
        "vary""Accept-Encoding"
        "strict-transport-security""max-age=15724800; includeSubDomains"
        "content-encoding""gzip"
      • public __construct(array $data = array())
        Creates a case insensitive dictionary.
        
        @param array $data Dictionary/map to convert to case-insensitive
        
        Inherited from Requests_Utility_CaseInsensitiveDictionary
        Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:28
        public flatten($value) -> string Flattened value
        Flattens a value into a string
        
        Converts an array into a string by imploding values with a comma, as per
        RFC2616's rules for folding headers.
        
        @param string|array $value Value to flatten
        @return string Flattened value
        
        Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:81
        public getAll() -> array Header data
        Get the headers as an array
        
        @return array Header data
        
        Inherited from Requests_Utility_CaseInsensitiveDictionary
        Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:100
        public getIterator() -> ArrayIterator
        Get an iterator for the data
        
        Converts the internal
        @return ArrayIterator
        
        Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:95
        public getValues($key) -> array Header values
        Get all values for a given header
        
        @param string $key
        @return array Header values
        
        Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:63
        public offsetExists($key) -> boolean Does the item exist?
        Check if the given item exists
        
        @param string $key Item key
        @return boolean Does the item exist?
        
        Inherited from Requests_Utility_CaseInsensitiveDictionary
        Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:40
        public offsetGet($key) -> string Header value
        Get the given header
        
        Unlike {@see self::getValues()}, this returns a string. If there are
        multiple values, it concatenates them with a comma as per RFC2616.
        
        Avoid using this where commas may be used unquoted in values, such as
        Set-Cookie headers.
        
        @param string $key
        @return string Header value
        
        Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:26
        public offsetSet($key, $value)
        Set the given item
        
        @throws Requests_Exception On attempting to use dictionary as list (`invalidset`)
        
        @param string $key Item name
        @param string $value Item value
        
        Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:43
        public offsetUnset($key)
        Unset the given header
        
        @param string $key
        
        Inherited from Requests_Utility_CaseInsensitiveDictionary
        Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:82
      • 'server' => string(13) "nginx/1.17.10"
        'date' => string(29) "Tue, 26 Jan 2021 14:08:20 GMT"
        'content-type' => string(31) "application/json; charset=UTF-8"
        'vary' => string(15) "Accept-Encoding"
        'strict-transport-security' => string(35) "max-age=15724800; includeSubDomains"
        'content-encoding' => string(4) "gzip"
      public status_code -> integer200
      public protocol_version -> float1.1
      public success -> boolTRUE
      public redirects -> integer1
      public url -> string(59) "https://daytoday.mlmsoft.com/api2/online-office/user/create"
      public history -> array(1)
      Requests_Response(10)
      • contents
      • Available methods (3)
      • public body -> string(172) "<html> <head><title>308 Permanent Redirect</title></head> <body> <center><h1>308…"
        <html>
        <head><title>308 Permanent Redirect</title></head>
        <body>
        <center><h1>308 Permanent Redirect</h1></center>
        <hr><center>nginx/1.17.10</center>
        </body>
        </html>
        
        public raw -> string(403) "HTTP/1.1 308 Permanent Redirect Server: nginx/1.17.10 Date: Tue, 26 Jan 2021 14:…"
        HTTP/1.1 308 Permanent Redirect
        Server: nginx/1.17.10
        Date: Tue, 26 Jan 2021 14:08:20 GMT
        Content-Type: text/html
        Content-Length: 172
        Connection: close
        Location: https://daytoday.mlmsoft.com/api2/online-office/user/create
        
        <html>
        <head><title>308 Permanent Redirect</title></head>
        <body>
        <center><h1>308 Permanent Redirect</h1></center>
        <hr><center>nginx/1.17.10</center>
        </body>
        </html>
        
        public headers -> Requests_Response_Headers(1)
        • contents
        • Available methods (9)
        • Iterator contents (5)
        • protected data -> array(5)
          *DEPTH TOO GREAT*
        • public __construct(array $data = array())
          Creates a case insensitive dictionary.
          
          @param array $data Dictionary/map to convert to case-insensitive
          
          Inherited from Requests_Utility_CaseInsensitiveDictionary
          Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:28
          public flatten($value) -> string Flattened value
          Flattens a value into a string
          
          Converts an array into a string by imploding values with a comma, as per
          RFC2616's rules for folding headers.
          
          @param string|array $value Value to flatten
          @return string Flattened value
          
          Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:81
          public getAll() -> array Header data
          Get the headers as an array
          
          @return array Header data
          
          Inherited from Requests_Utility_CaseInsensitiveDictionary
          Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:100
          public getIterator() -> ArrayIterator
          Get an iterator for the data
          
          Converts the internal
          @return ArrayIterator
          
          Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:95
          public getValues($key) -> array Header values
          Get all values for a given header
          
          @param string $key
          @return array Header values
          
          Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:63
          public offsetExists($key) -> boolean Does the item exist?
          Check if the given item exists
          
          @param string $key Item key
          @return boolean Does the item exist?
          
          Inherited from Requests_Utility_CaseInsensitiveDictionary
          Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:40
          public offsetGet($key) -> string Header value
          Get the given header
          
          Unlike {@see self::getValues()}, this returns a string. If there are
          multiple values, it concatenates them with a comma as per RFC2616.
          
          Avoid using this where commas may be used unquoted in values, such as
          Set-Cookie headers.
          
          @param string $key
          @return string Header value
          
          Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:26
          public offsetSet($key, $value)
          Set the given item
          
          @throws Requests_Exception On attempting to use dictionary as list (`invalidset`)
          
          @param string $key Item name
          @param string $value Item value
          
          Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:43
          public offsetUnset($key)
          Unset the given header
          
          @param string $key
          
          Inherited from Requests_Utility_CaseInsensitiveDictionary
          Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:82
        • *DEPTH TOO GREAT*
        public status_code -> integer308
        public protocol_version -> float1.1
        public success -> boolFALSE
        public redirects -> integer0
        public url -> string(58) "http://daytoday.mlmsoft.com/api2/online-office/user/create"
        public history -> array(0)
        public cookies -> Requests_Cookie_Jar(1)
        • contents
        • Available methods (11)
        • Iterator contents (0)
        • protected cookies -> array(0)
        • public __construct($cookies = array())
          Create a new jar
          
          @param array $cookies Existing cookie values
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:28
          public before_redirect_check(Requests_Response &$return)
          Parse all cookies from a response and attach them to the response
          
          @var Requests_Response $response
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:165
          public before_request($url, &$headers, &$data, &$type, &$options)
          Add Cookie header to a request if we have any
          
          As per RFC 6265, cookies are separated by '; '
          
          @param string $url
          @param array $headers
          @param array $data
          @param string $type
          @param array $options
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:136
          public getIterator() -> ArrayIterator
          Get an iterator for the data
          
          @return ArrayIterator
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:111
          public normalizeCookie($cookie, $key = NULL) -> Requests_Cookie
          Normalise cookie data into a Requests_Cookie
          
          @codeCoverageIgnore
          @deprecated Use {@see Requests_Cookie_Jar::normalize_cookie}
          @return Requests_Cookie
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:53
          public normalize_cookie($cookie, $key = NULL) -> Requests_Cookie
          Normalise cookie data into a Requests_Cookie
          
          @param string|Requests_Cookie $cookie
          @return Requests_Cookie
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:38
          public offsetExists($key) -> boolean Does the item exist?
          Check if the given item exists
          
          @param string $key Item key
          @return boolean Does the item exist?
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:63
          public offsetGet($key) -> string Item value
          Get the value for the item
          
          @param string $key Item key
          @return string Item value
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:73
          public offsetSet($key, $value)
          Set the given item
          
          @throws Requests_Exception On attempting to use dictionary as list (`invalidset`)
          
          @param string $key Item name
          @param string $value Item value
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:89
          public offsetUnset($key)
          Unset the given header
          
          @param string $key
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:102
          public register(Requests_Hooker $hooks)
          Register the cookie handler with the request's hooking system
          
          @param Requests_Hooker $hooks Hooking system
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:120
      • public __construct()
        Constructor
        
        Defined in <ROOT>/wp-includes/Requests/Response.php:19
        public is_redirect() -> boolean True if redirect (3xx status), false if not.
        Is the response a redirect?
        
        @return boolean True if redirect (3xx status), false if not.
        
        Defined in <ROOT>/wp-includes/Requests/Response.php:98
        public throw_for_status($allow_redirects = true)
        Throws an exception if the request was not successful
        
        @throws Requests_Exception If `$allow_redirects` is false, and code is 3xx (`response.no_redirects`)
        @throws Requests_Exception_HTTP On non-successful status code. Exception class corresponds to code (e.g. {@see Requests_Exception_HTTP_404})
        @param boolean $allow_redirects Set to false to throw on a 3xx as well
        
        Defined in <ROOT>/wp-includes/Requests/Response.php:110
      public cookies -> Requests_Cookie_Jar(1)
      • contents
      • Available methods (11)
      • Iterator contents (0)
      • protected cookies -> array(0)
      • public __construct($cookies = array())
        Create a new jar
        
        @param array $cookies Existing cookie values
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:28
        public before_redirect_check(Requests_Response &$return)
        Parse all cookies from a response and attach them to the response
        
        @var Requests_Response $response
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:165
        public before_request($url, &$headers, &$data, &$type, &$options)
        Add Cookie header to a request if we have any
        
        As per RFC 6265, cookies are separated by '; '
        
        @param string $url
        @param array $headers
        @param array $data
        @param string $type
        @param array $options
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:136
        public getIterator() -> ArrayIterator
        Get an iterator for the data
        
        @return ArrayIterator
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:111
        public normalizeCookie($cookie, $key = NULL) -> Requests_Cookie
        Normalise cookie data into a Requests_Cookie
        
        @codeCoverageIgnore
        @deprecated Use {@see Requests_Cookie_Jar::normalize_cookie}
        @return Requests_Cookie
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:53
        public normalize_cookie($cookie, $key = NULL) -> Requests_Cookie
        Normalise cookie data into a Requests_Cookie
        
        @param string|Requests_Cookie $cookie
        @return Requests_Cookie
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:38
        public offsetExists($key) -> boolean Does the item exist?
        Check if the given item exists
        
        @param string $key Item key
        @return boolean Does the item exist?
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:63
        public offsetGet($key) -> string Item value
        Get the value for the item
        
        @param string $key Item key
        @return string Item value
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:73
        public offsetSet($key, $value)
        Set the given item
        
        @throws Requests_Exception On attempting to use dictionary as list (`invalidset`)
        
        @param string $key Item name
        @param string $value Item value
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:89
        public offsetUnset($key)
        Unset the given header
        
        @param string $key
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:102
        public register(Requests_Hooker $hooks)
        Register the cookie handler with the request's hooking system
        
        @param Requests_Hooker $hooks Hooking system
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:120
    • public __construct()
      Constructor
      
      Defined in <ROOT>/wp-includes/Requests/Response.php:19
      public is_redirect() -> boolean True if redirect (3xx status), false if not.
      Is the response a redirect?
      
      @return boolean True if redirect (3xx status), false if not.
      
      Defined in <ROOT>/wp-includes/Requests/Response.php:98
      public throw_for_status($allow_redirects = true)
      Throws an exception if the request was not successful
      
      @throws Requests_Exception If `$allow_redirects` is false, and code is 3xx (`response.no_redirects`)
      @throws Requests_Exception_HTTP On non-successful status code. Exception class corresponds to code (e.g. {@see Requests_Exception_HTTP_404})
      @param boolean $allow_redirects Set to false to throw on a 3xx as well
      
      Defined in <ROOT>/wp-includes/Requests/Response.php:110
    protected filename -> NULL
    public data -> NULL
    public headers -> NULL
    public status -> NULL
  • public __construct(Requests_Response $response, $filename = "")
    Constructor.
    
    @since 4.6.0
    
    @param Requests_Response $response HTTP response.
    @param string            $filename Optional. File name. Default empty.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:42
    public get_cookies() -> WP_HTTP_Cookie[] List of cookie objects.
    Retrieves cookies from the response.
    
    @since 4.6.0
    
    @return WP_HTTP_Cookie[] List of cookie objects.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:160
    public get_data() -> string Response data.
    Retrieves the response data.
    
    @since 4.6.0
    
    @return string Response data.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:138
    public get_headers() -> \Requests_Utility_CaseInsensitiveDictionary Map of header name to header value.
    Retrieves headers associated with the response.
    
    @since 4.6.0
    
    @return \Requests_Utility_CaseInsensitiveDictionary Map of header name to header value.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:65
    public get_response_object() -> Requests_Response HTTP response.
    Retrieves the response object for the request.
    
    @since 4.6.0
    
    @return Requests_Response HTTP response.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:54
    public get_status() -> int The 3-digit HTTP status code.
    Retrieves the HTTP return code for the response.
    
    @since 4.6.0
    
    @return int The 3-digit HTTP status code.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:116
    public header($key, $value, $replace = true)
    Sets a single HTTP header.
    
    @since 4.6.0
    
    @param string $key     Header name.
    @param string $value   Header value.
    @param bool   $replace Optional. Whether to replace an existing header of the same name.
    Default true.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:101
    public jsonSerialize() -> mixed Any JSON-serializable value.
    Retrieves the response data for JSON serialization.
    
    It is expected that in most implementations, this will return the same as get_data(),
    however this may be different if you want to do custom JSON data handling.
    
    @since 4.4.0
    
    @return mixed Any JSON-serializable value.
    
    Inherited from WP_HTTP_Response
    Defined in <ROOT>/wp-includes/class-wp-http-response.php:150
    public set_data($data)
    Sets the response data.
    
    @since 4.6.0
    
    @param string $data Response data.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:149
    public set_headers($headers)
    Sets all header values.
    
    @since 4.6.0
    
    @param array $headers Map of header name to header value.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:87
    public set_status($code)
    Sets the 3-digit HTTP status code.
    
    @since 4.6.0
    
    @param int $code HTTP status.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:127
    public to_array() -> array WP_Http response array, per WP_Http::request().
    Converts the object to a WP_Http response array.
    
    @since 4.6.0
    
    @return array WP_Http response array, per WP_Http::request().
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:185
Called from <ROOT>/wp-content/plugins/mlm-soft-integration/classes/class.mlmsoftapi.php:60 [MlmSoftApi->sendRequest()]
  1. <ROOT>/wp-content/plugins/mlm-soft-integration/classes/class.mlmsoftapi.php:88 [MlmSoftApi->sendRequest()]
  2. <ROOT>/wp-content/themes/conceptly/header.php:52 [MlmSoftApi->execPost()]
  3. <ROOT>/wp-includes/template.php:730
  4. <ROOT>/wp-includes/template.php:676 [load_template()]
  5. <ROOT>/wp-includes/general-template.php:48 [locate_template()]
  6. <ROOT>/wp-content/themes/conceptly/archive.php:10 [get_header()]
  7. <ROOT>/wp-includes/template-loader.php:106
  8. <ROOT>/wp-blog-header.php:19
  9. <ROOT>/index.php:17
$params array(2)
'headers' => array(3)
'Content-Type' => string(16) "application/json"
'App-Id' => integer1
'Security-Key' => string(32) "dc027fa61098568cb9159602fb3f5b8b"
'method' => string(3) "GET"
$reqRes array(6)
'headers' => Requests_Utility_CaseInsensitiveDictionary(1)
  • contents
  • Available methods (7)
  • Iterator contents (6)
  • protected data -> array(6)
    'server' => string(13) "nginx/1.17.10"
    'date' => string(29) "Tue, 26 Jan 2021 14:08:21 GMT"
    'content-type' => string(31) "application/json; charset=UTF-8"
    'vary' => string(15) "Accept-Encoding"
    'strict-transport-security' => string(35) "max-age=15724800; includeSubDomains"
    'content-encoding' => string(4) "gzip"
  • public __construct(array $data = array())
    Creates a case insensitive dictionary.
    
    @param array $data Dictionary/map to convert to case-insensitive
    
    Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:28
    public getAll() -> array Header data
    Get the headers as an array
    
    @return array Header data
    
    Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:100
    public getIterator() -> ArrayIterator
    Get an iterator for the data
    
    @return ArrayIterator
    
    Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:91
    public offsetExists($key) -> boolean Does the item exist?
    Check if the given item exists
    
    @param string $key Item key
    @return boolean Does the item exist?
    
    Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:40
    public offsetGet($key) -> string Item value
    Get the value for the item
    
    @param string $key Item key
    @return string Item value
    
    Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:51
    public offsetSet($key, $value)
    Set the given item
    
    @throws Requests_Exception On attempting to use dictionary as list (`invalidset`)
    
    @param string $key Item name
    @param string $value Item value
    
    Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:68
    public offsetUnset($key)
    Unset the given header
    
    @param string $key
    
    Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:82
  • 'server' => string(13) "nginx/1.17.10"
    'date' => string(29) "Tue, 26 Jan 2021 14:08:21 GMT"
    'content-type' => string(31) "application/json; charset=UTF-8"
    'vary' => string(15) "Accept-Encoding"
    'strict-transport-security' => string(35) "max-age=15724800; includeSubDomains"
    'content-encoding' => string(4) "gzip"
'body' => string UTF-8(951) "{"errorCode":0,"errorMessage":null,"primary":{"success":true,"message":"","paylo…"
  • contents
  • JSON
  • {"errorCode":0,"errorMessage":null,"primary":{"success":true,"message":"","payload":{"document":{"id":3144,"status":"error","createdAt":"2021-01-26 14:08:20+00","beginProcessedAt":"2021-01-26 14:08:20+00","completedAt":"2021-01-26 14:08:21+00","accountId":null,"documentType":{"id":21,"alias":"queued_request","title":"Queued Request Task"},"context":{"operation":"\\app\\entities\\User\\requests\\Create\\Request","controller":"online-office","entity":"user","action":"Create","params":{"login":"slavmart37@mail.ru","password":"111111","sponsorId":3,"profile":{"firstname":"Петр","lastname":"Ивановcrbq","email":"petr@mail.com","phone":"+7222222222","countryId":"RU"}}},"result":{"errorCode":500,"errorMessage":"Can not user create.","primary":{"success":false,"message":"","payload":null,"errors":[{"code":null,"message":"Can not user create."}],"debug":[]},"secondary":[],"locale":"en-US"}}},"errors":[],"debug":[]},"secondary":[],"locale":"ru-RU"}
  • 'errorCode' => integer0
    'errorMessage' => NULL
    'primary' => array(5)
    'success' => boolTRUE
    'message' => string(0) ""
    'payload' => array(1)
    'document' => array(9)
    'id' => integer3144
    'status' => string(5) "error"
    'createdAt' => string(22) "2021-01-26 14:08:20+00"
    'beginProcessedAt' => string(22) "2021-01-26 14:08:20+00"
    'completedAt' => string(22) "2021-01-26 14:08:21+00"
    'accountId' => NULL
    'documentType' => array(3)
    *DEPTH TOO GREAT*
    'context' => array(5)
    *DEPTH TOO GREAT*
    'result' => array(5)
    *DEPTH TOO GREAT*
    'errors' => array(0)
    'debug' => array(0)
    'secondary' => array(0)
    'locale' => string(5) "ru-RU"
'response' => array(2)
'code' => integer200
'message' => string(2) "OK"
'cookies' => array(0)
'filename' => NULL
'http_response' => WP_HTTP_Requests_Response(5)
  • contents
  • Available methods (12)
  • protected response -> Requests_Response(10)
    • contents
    • Available methods (3)
    • public body -> string UTF-8(951) "{"errorCode":0,"errorMessage":null,"primary":{"success":true,"message":"","paylo…"
      • contents
      • JSON
      • {"errorCode":0,"errorMessage":null,"primary":{"success":true,"message":"","payload":{"document":{"id":3144,"status":"error","createdAt":"2021-01-26 14:08:20+00","beginProcessedAt":"2021-01-26 14:08:20+00","completedAt":"2021-01-26 14:08:21+00","accountId":null,"documentType":{"id":21,"alias":"queued_request","title":"Queued Request Task"},"context":{"operation":"\\app\\entities\\User\\requests\\Create\\Request","controller":"online-office","entity":"user","action":"Create","params":{"login":"slavmart37@mail.ru","password":"111111","sponsorId":3,"profile":{"firstname":"Петр","lastname":"Ивановcrbq","email":"petr@mail.com","phone":"+7222222222","countryId":"RU"}}},"result":{"errorCode":500,"errorMessage":"Can not user create.","primary":{"success":false,"message":"","payload":null,"errors":[{"code":null,"message":"Can not user create."}],"debug":[]},"secondary":[],"locale":"en-US"}}},"errors":[],"debug":[]},"secondary":[],"locale":"ru-RU"}
      • 'errorCode' => integer0
        'errorMessage' => NULL
        'primary' => array(5)
        'success' => boolTRUE
        'message' => string(0) ""
        'payload' => array(1)
        *DEPTH TOO GREAT*
        'errors' => array(0)
        'debug' => array(0)
        'secondary' => array(0)
        'locale' => string(5) "ru-RU"
      public raw -> string UTF-8(1235) "HTTP/1.1 200 OK Server: nginx/1.17.10 Date: Tue, 26 Jan 2021 14:08:21 GMT Conten…"
      HTTP/1.1 200 OK
      Server: nginx/1.17.10
      Date: Tue, 26 Jan 2021 14:08:21 GMT
      Content-Type: application/json; charset=UTF-8
      Transfer-Encoding: chunked
      Connection: close
      Vary: Accept-Encoding
      Strict-Transport-Security: max-age=15724800; includeSubDomains
      Content-Encoding: gzip
      
      {"errorCode":0,"errorMessage":null,"primary":{"success":true,"message":"","payload":{"document":{"id":3144,"status":"error","createdAt":"2021-01-26 14:08:20+00","beginProcessedAt":"2021-01-26 14:08:20+00","completedAt":"2021-01-26 14:08:21+00","accountId":null,"documentType":{"id":21,"alias":"queued_request","title":"Queued Request Task"},"context":{"operation":"\\app\\entities\\User\\requests\\Create\\Request","controller":"online-office","entity":"user","action":"Create","params":{"login":"slavmart37@mail.ru","password":"111111","sponsorId":3,"profile":{"firstname":"Петр","lastname":"Ивановcrbq","email":"petr@mail.com","phone":"+7222222222","countryId":"RU"}}},"result":{"errorCode":500,"errorMessage":"Can not user create.","primary":{"success":false,"message":"","payload":null,"errors":[{"code":null,"message":"Can not user create."}],"debug":[]},"secondary":[],"locale":"en-US"}}},"errors":[],"debug":[]},"secondary":[],"locale":"ru-RU"}
      public headers -> Requests_Response_Headers(1)
      • contents
      • Available methods (9)
      • Iterator contents (6)
      • protected data -> array(6)
         0
        "server""nginx/1.17.10"
        "date""Tue, 26 Jan 2021 14:08:21 GMT"
        "content-type""application/json; charset=UTF-8"
        "vary""Accept-Encoding"
        "strict-transport-security""max-age=15724800; includeSubDomains"
        "content-encoding""gzip"
      • public __construct(array $data = array())
        Creates a case insensitive dictionary.
        
        @param array $data Dictionary/map to convert to case-insensitive
        
        Inherited from Requests_Utility_CaseInsensitiveDictionary
        Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:28
        public flatten($value) -> string Flattened value
        Flattens a value into a string
        
        Converts an array into a string by imploding values with a comma, as per
        RFC2616's rules for folding headers.
        
        @param string|array $value Value to flatten
        @return string Flattened value
        
        Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:81
        public getAll() -> array Header data
        Get the headers as an array
        
        @return array Header data
        
        Inherited from Requests_Utility_CaseInsensitiveDictionary
        Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:100
        public getIterator() -> ArrayIterator
        Get an iterator for the data
        
        Converts the internal
        @return ArrayIterator
        
        Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:95
        public getValues($key) -> array Header values
        Get all values for a given header
        
        @param string $key
        @return array Header values
        
        Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:63
        public offsetExists($key) -> boolean Does the item exist?
        Check if the given item exists
        
        @param string $key Item key
        @return boolean Does the item exist?
        
        Inherited from Requests_Utility_CaseInsensitiveDictionary
        Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:40
        public offsetGet($key) -> string Header value
        Get the given header
        
        Unlike {@see self::getValues()}, this returns a string. If there are
        multiple values, it concatenates them with a comma as per RFC2616.
        
        Avoid using this where commas may be used unquoted in values, such as
        Set-Cookie headers.
        
        @param string $key
        @return string Header value
        
        Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:26
        public offsetSet($key, $value)
        Set the given item
        
        @throws Requests_Exception On attempting to use dictionary as list (`invalidset`)
        
        @param string $key Item name
        @param string $value Item value
        
        Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:43
        public offsetUnset($key)
        Unset the given header
        
        @param string $key
        
        Inherited from Requests_Utility_CaseInsensitiveDictionary
        Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:82
      • 'server' => string(13) "nginx/1.17.10"
        'date' => string(29) "Tue, 26 Jan 2021 14:08:21 GMT"
        'content-type' => string(31) "application/json; charset=UTF-8"
        'vary' => string(15) "Accept-Encoding"
        'strict-transport-security' => string(35) "max-age=15724800; includeSubDomains"
        'content-encoding' => string(4) "gzip"
      public status_code -> integer200
      public protocol_version -> float1.1
      public success -> boolTRUE
      public redirects -> integer1
      public url -> string(68) "https://daytoday.mlmsoft.com/api2/online-office/document/get?id=3144"
      public history -> array(1)
      Requests_Response(10)
      • contents
      • Available methods (3)
      • public body -> string(172) "<html> <head><title>308 Permanent Redirect</title></head> <body> <center><h1>308…"
        <html>
        <head><title>308 Permanent Redirect</title></head>
        <body>
        <center><h1>308 Permanent Redirect</h1></center>
        <hr><center>nginx/1.17.10</center>
        </body>
        </html>
        
        public raw -> string(412) "HTTP/1.1 308 Permanent Redirect Server: nginx/1.17.10 Date: Tue, 26 Jan 2021 14:…"
        HTTP/1.1 308 Permanent Redirect
        Server: nginx/1.17.10
        Date: Tue, 26 Jan 2021 14:08:21 GMT
        Content-Type: text/html
        Content-Length: 172
        Connection: close
        Location: https://daytoday.mlmsoft.com/api2/online-office/document/get?id=3144
        
        <html>
        <head><title>308 Permanent Redirect</title></head>
        <body>
        <center><h1>308 Permanent Redirect</h1></center>
        <hr><center>nginx/1.17.10</center>
        </body>
        </html>
        
        public headers -> Requests_Response_Headers(1)
        • contents
        • Available methods (9)
        • Iterator contents (5)
        • protected data -> array(5)
          *DEPTH TOO GREAT*
        • public __construct(array $data = array())
          Creates a case insensitive dictionary.
          
          @param array $data Dictionary/map to convert to case-insensitive
          
          Inherited from Requests_Utility_CaseInsensitiveDictionary
          Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:28
          public flatten($value) -> string Flattened value
          Flattens a value into a string
          
          Converts an array into a string by imploding values with a comma, as per
          RFC2616's rules for folding headers.
          
          @param string|array $value Value to flatten
          @return string Flattened value
          
          Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:81
          public getAll() -> array Header data
          Get the headers as an array
          
          @return array Header data
          
          Inherited from Requests_Utility_CaseInsensitiveDictionary
          Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:100
          public getIterator() -> ArrayIterator
          Get an iterator for the data
          
          Converts the internal
          @return ArrayIterator
          
          Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:95
          public getValues($key) -> array Header values
          Get all values for a given header
          
          @param string $key
          @return array Header values
          
          Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:63
          public offsetExists($key) -> boolean Does the item exist?
          Check if the given item exists
          
          @param string $key Item key
          @return boolean Does the item exist?
          
          Inherited from Requests_Utility_CaseInsensitiveDictionary
          Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:40
          public offsetGet($key) -> string Header value
          Get the given header
          
          Unlike {@see self::getValues()}, this returns a string. If there are
          multiple values, it concatenates them with a comma as per RFC2616.
          
          Avoid using this where commas may be used unquoted in values, such as
          Set-Cookie headers.
          
          @param string $key
          @return string Header value
          
          Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:26
          public offsetSet($key, $value)
          Set the given item
          
          @throws Requests_Exception On attempting to use dictionary as list (`invalidset`)
          
          @param string $key Item name
          @param string $value Item value
          
          Defined in <ROOT>/wp-includes/Requests/Response/Headers.php:43
          public offsetUnset($key)
          Unset the given header
          
          @param string $key
          
          Inherited from Requests_Utility_CaseInsensitiveDictionary
          Defined in <ROOT>/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php:82
        • *DEPTH TOO GREAT*
        public status_code -> integer308
        public protocol_version -> float1.1
        public success -> boolFALSE
        public redirects -> integer0
        public url -> string(67) "http://daytoday.mlmsoft.com/api2/online-office/document/get?id=3144"
        public history -> array(0)
        public cookies -> Requests_Cookie_Jar(1)
        • contents
        • Available methods (11)
        • Iterator contents (0)
        • protected cookies -> array(0)
        • public __construct($cookies = array())
          Create a new jar
          
          @param array $cookies Existing cookie values
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:28
          public before_redirect_check(Requests_Response &$return)
          Parse all cookies from a response and attach them to the response
          
          @var Requests_Response $response
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:165
          public before_request($url, &$headers, &$data, &$type, &$options)
          Add Cookie header to a request if we have any
          
          As per RFC 6265, cookies are separated by '; '
          
          @param string $url
          @param array $headers
          @param array $data
          @param string $type
          @param array $options
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:136
          public getIterator() -> ArrayIterator
          Get an iterator for the data
          
          @return ArrayIterator
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:111
          public normalizeCookie($cookie, $key = NULL) -> Requests_Cookie
          Normalise cookie data into a Requests_Cookie
          
          @codeCoverageIgnore
          @deprecated Use {@see Requests_Cookie_Jar::normalize_cookie}
          @return Requests_Cookie
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:53
          public normalize_cookie($cookie, $key = NULL) -> Requests_Cookie
          Normalise cookie data into a Requests_Cookie
          
          @param string|Requests_Cookie $cookie
          @return Requests_Cookie
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:38
          public offsetExists($key) -> boolean Does the item exist?
          Check if the given item exists
          
          @param string $key Item key
          @return boolean Does the item exist?
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:63
          public offsetGet($key) -> string Item value
          Get the value for the item
          
          @param string $key Item key
          @return string Item value
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:73
          public offsetSet($key, $value)
          Set the given item
          
          @throws Requests_Exception On attempting to use dictionary as list (`invalidset`)
          
          @param string $key Item name
          @param string $value Item value
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:89
          public offsetUnset($key)
          Unset the given header
          
          @param string $key
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:102
          public register(Requests_Hooker $hooks)
          Register the cookie handler with the request's hooking system
          
          @param Requests_Hooker $hooks Hooking system
          
          Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:120
      • public __construct()
        Constructor
        
        Defined in <ROOT>/wp-includes/Requests/Response.php:19
        public is_redirect() -> boolean True if redirect (3xx status), false if not.
        Is the response a redirect?
        
        @return boolean True if redirect (3xx status), false if not.
        
        Defined in <ROOT>/wp-includes/Requests/Response.php:98
        public throw_for_status($allow_redirects = true)
        Throws an exception if the request was not successful
        
        @throws Requests_Exception If `$allow_redirects` is false, and code is 3xx (`response.no_redirects`)
        @throws Requests_Exception_HTTP On non-successful status code. Exception class corresponds to code (e.g. {@see Requests_Exception_HTTP_404})
        @param boolean $allow_redirects Set to false to throw on a 3xx as well
        
        Defined in <ROOT>/wp-includes/Requests/Response.php:110
      public cookies -> Requests_Cookie_Jar(1)
      • contents
      • Available methods (11)
      • Iterator contents (0)
      • protected cookies -> array(0)
      • public __construct($cookies = array())
        Create a new jar
        
        @param array $cookies Existing cookie values
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:28
        public before_redirect_check(Requests_Response &$return)
        Parse all cookies from a response and attach them to the response
        
        @var Requests_Response $response
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:165
        public before_request($url, &$headers, &$data, &$type, &$options)
        Add Cookie header to a request if we have any
        
        As per RFC 6265, cookies are separated by '; '
        
        @param string $url
        @param array $headers
        @param array $data
        @param string $type
        @param array $options
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:136
        public getIterator() -> ArrayIterator
        Get an iterator for the data
        
        @return ArrayIterator
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:111
        public normalizeCookie($cookie, $key = NULL) -> Requests_Cookie
        Normalise cookie data into a Requests_Cookie
        
        @codeCoverageIgnore
        @deprecated Use {@see Requests_Cookie_Jar::normalize_cookie}
        @return Requests_Cookie
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:53
        public normalize_cookie($cookie, $key = NULL) -> Requests_Cookie
        Normalise cookie data into a Requests_Cookie
        
        @param string|Requests_Cookie $cookie
        @return Requests_Cookie
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:38
        public offsetExists($key) -> boolean Does the item exist?
        Check if the given item exists
        
        @param string $key Item key
        @return boolean Does the item exist?
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:63
        public offsetGet($key) -> string Item value
        Get the value for the item
        
        @param string $key Item key
        @return string Item value
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:73
        public offsetSet($key, $value)
        Set the given item
        
        @throws Requests_Exception On attempting to use dictionary as list (`invalidset`)
        
        @param string $key Item name
        @param string $value Item value
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:89
        public offsetUnset($key)
        Unset the given header
        
        @param string $key
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:102
        public register(Requests_Hooker $hooks)
        Register the cookie handler with the request's hooking system
        
        @param Requests_Hooker $hooks Hooking system
        
        Defined in <ROOT>/wp-includes/Requests/Cookie/Jar.php:120
    • public __construct()
      Constructor
      
      Defined in <ROOT>/wp-includes/Requests/Response.php:19
      public is_redirect() -> boolean True if redirect (3xx status), false if not.
      Is the response a redirect?
      
      @return boolean True if redirect (3xx status), false if not.
      
      Defined in <ROOT>/wp-includes/Requests/Response.php:98
      public throw_for_status($allow_redirects = true)
      Throws an exception if the request was not successful
      
      @throws Requests_Exception If `$allow_redirects` is false, and code is 3xx (`response.no_redirects`)
      @throws Requests_Exception_HTTP On non-successful status code. Exception class corresponds to code (e.g. {@see Requests_Exception_HTTP_404})
      @param boolean $allow_redirects Set to false to throw on a 3xx as well
      
      Defined in <ROOT>/wp-includes/Requests/Response.php:110
    protected filename -> NULL
    public data -> NULL
    public headers -> NULL
    public status -> NULL
  • public __construct(Requests_Response $response, $filename = "")
    Constructor.
    
    @since 4.6.0
    
    @param Requests_Response $response HTTP response.
    @param string            $filename Optional. File name. Default empty.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:42
    public get_cookies() -> WP_HTTP_Cookie[] List of cookie objects.
    Retrieves cookies from the response.
    
    @since 4.6.0
    
    @return WP_HTTP_Cookie[] List of cookie objects.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:160
    public get_data() -> string Response data.
    Retrieves the response data.
    
    @since 4.6.0
    
    @return string Response data.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:138
    public get_headers() -> \Requests_Utility_CaseInsensitiveDictionary Map of header name to header value.
    Retrieves headers associated with the response.
    
    @since 4.6.0
    
    @return \Requests_Utility_CaseInsensitiveDictionary Map of header name to header value.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:65
    public get_response_object() -> Requests_Response HTTP response.
    Retrieves the response object for the request.
    
    @since 4.6.0
    
    @return Requests_Response HTTP response.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:54
    public get_status() -> int The 3-digit HTTP status code.
    Retrieves the HTTP return code for the response.
    
    @since 4.6.0
    
    @return int The 3-digit HTTP status code.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:116
    public header($key, $value, $replace = true)
    Sets a single HTTP header.
    
    @since 4.6.0
    
    @param string $key     Header name.
    @param string $value   Header value.
    @param bool   $replace Optional. Whether to replace an existing header of the same name.
    Default true.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:101
    public jsonSerialize() -> mixed Any JSON-serializable value.
    Retrieves the response data for JSON serialization.
    
    It is expected that in most implementations, this will return the same as get_data(),
    however this may be different if you want to do custom JSON data handling.
    
    @since 4.4.0
    
    @return mixed Any JSON-serializable value.
    
    Inherited from WP_HTTP_Response
    Defined in <ROOT>/wp-includes/class-wp-http-response.php:150
    public set_data($data)
    Sets the response data.
    
    @since 4.6.0
    
    @param string $data Response data.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:149
    public set_headers($headers)
    Sets all header values.
    
    @since 4.6.0
    
    @param array $headers Map of header name to header value.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:87
    public set_status($code)
    Sets the 3-digit HTTP status code.
    
    @since 4.6.0
    
    @param int $code HTTP status.
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:127
    public to_array() -> array WP_Http response array, per WP_Http::request().
    Converts the object to a WP_Http response array.
    
    @since 4.6.0
    
    @return array WP_Http response array, per WP_Http::request().
    
    Defined in <ROOT>/wp-includes/class-wp-http-requests-response.php:185
Called from <ROOT>/wp-content/plugins/mlm-soft-integration/classes/class.mlmsoftapi.php:60 [MlmSoftApi->sendRequest()]
  1. <ROOT>/wp-content/plugins/mlm-soft-integration/classes/class.mlmsoftapi.php:76 [MlmSoftApi->sendRequest()]
  2. <ROOT>/wp-content/plugins/mlm-soft-integration/classes/class.mlmsoftapi.php:21 [MlmSoftApi->execGet()]
  3. <ROOT>/wp-content/plugins/mlm-soft-integration/classes/class.mlmsoftapi.php:65 [MlmSoftApi->getDocumentResult()]
  4. <ROOT>/wp-content/plugins/mlm-soft-integration/classes/class.mlmsoftapi.php:88 [MlmSoftApi->sendRequest()]
  5. <ROOT>/wp-content/themes/conceptly/header.php:52 [MlmSoftApi->execPost()]
  6. <ROOT>/wp-includes/template.php:730
  7. <ROOT>/wp-includes/template.php:676 [load_template()]
  8. <ROOT>/wp-includes/general-template.php:48 [locate_template()]
  9. <ROOT>/wp-content/themes/conceptly/archive.php:10 [get_header()]
  10. <ROOT>/wp-includes/template-loader.php:106
  11. <ROOT>/wp-blog-header.php:19
  12. <ROOT>/index.php:17
$mlmapi->execPost(...) stdClass(5)
public errorCode -> integer500
public errorMessage -> string(20) "Can not user create."
public primary -> stdClass(5)
public success -> boolFALSE
public message -> string(0) ""
public payload -> NULL
public errors -> array(1)
stdClass(2)
public code -> NULL
public message -> string(20) "Can not user create."
public debug -> array(0)
public secondary -> array(0)
public locale -> string(5) "en-US"
Called from <ROOT>/wp-content/themes/conceptly/header.php:52
  1. <ROOT>/wp-includes/template.php:730
  2. <ROOT>/wp-includes/template.php:676 [load_template()]
  3. <ROOT>/wp-includes/general-template.php:48 [locate_template()]
  4. <ROOT>/wp-content/themes/conceptly/archive.php:10 [get_header()]
  5. <ROOT>/wp-includes/template-loader.php:106
  6. <ROOT>/wp-blog-header.php:19
  7. <ROOT>/index.php:17

Работа с файлами средствами класса \Bitrix\Main\IO\File с использованием объекта файла.

Создать объект файла:

$file = new \Bitrix\Main\IO\File(\Bitrix\Main\Application::getDocumentRoot()."/file.txt");

Проверить, существует ли файл:

$file->isExists()

Папка файла в виде объекта класса «\Bitrix\Main\IO\Directory»:

$file->getDirectory()

Папка файла в виде строки:

$file->getDirectoryName()

Название файла:

$file->getName()

Расширение файла:

$file->getExtension()

Размер файла:

$file->getSize()

Тип контента файла:

$file->getContentType()

Дата создания файла:

$file->getCreationTime()

Дата последнего обращения к файлу:

$file->getLastAccessTime()

Датат изменения файла:

$file->getModificationTime()

Права доступа к файлу (например, 777):

$file->getPermissions()

Получить содержание файла:

$file->getContents()

Сохранить содержимое в файле:

$file->putContents("содержимое");

Сохранить содержимое в файле с добавлением в конец файла:

$file->putContents("содержимое", \Bitrix\Main\IO\File::APPEND);

Вывести содержимое файла:

$file->readFile();

Переименовать файл:

$file->rename(\Bitrix\Main\Application::getDocumentRoot()."/file2.txt");

Удалить файл:

$file->delete();

Работа с файлами средствами класса \Bitrix\Main\IO\File с использованием статических методов.

Получить полный путь от корня сайта:

$fileName = \Bitrix\Main\Application::getDocumentRoot()."/file.txt";

Проверить, существует ли файл:

\Bitrix\Main\IO\File::isFileExists($fileName)

Получить содержимое файла:

\Bitrix\Main\IO\File::getFileContents($fileName)

Сохранить содержимое в файле:

\Bitrix\Main\IO\File::putFileContents($fileName,"содержимое");

Сохранить содержимое в файле с добавлением в конец:

\Bitrix\Main\IO\File::putFileContents($fileName,"содержимое",\Bitrix\Main\IO\File::APPEND);

Удалить файл:

\Bitrix\Main\IO\File::deleteFile($fileName);