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 WP_Error(3)
  • contents
  • Available methods (14)
  • public errors -> array(1)
    'http_request_failed' => array(1)
    string(58) "cURL error 28: Resolving timed out after 5515 milliseconds"
    public error_data -> array(0)
    protected additional_data -> array(0)
  • public __construct($code = "", $message = "", $data = "")
    Initializes the error.
    
    If `$code` is empty, the other parameters will be ignored.
    When `$code` is not empty, `$message` will be used even if
    it is empty. The `$data` parameter will be used only if it
    is not empty.
    
    Though the class is constructed with a single error code and
    message, multiple codes can be added using the `add()` method.
    
    @since 2.1.0
    
    @param string|int $code    Error code.
    @param string     $message Error message.
    @param mixed      $data    Optional. Error data.
    
    Defined in <ROOT>/wp-includes/class-wp-error.php:60
    public add($code, $message, $data = "")
    Adds an error or appends an additional message to an existing error.
    
    @since 2.1.0
    
    @param string|int $code    Error code.
    @param string     $message Error message.
    @param mixed      $data    Optional. Error data.
    
    Defined in <ROOT>/wp-includes/class-wp-error.php:189
    public add_data($data, $code = "")
    Adds data to an error with the given code.
    
    @since 2.1.0
    @since 5.6.0 Errors can now contain more than one item of error data. {@see WP_Error::$additional_data}.
    
    @param mixed      $data Error data.
    @param string|int $code Error code.
    
    Defined in <ROOT>/wp-includes/class-wp-error.php:218
    public export_to(WP_Error $error)
    Exports the errors in this object into the given one.
    
    @since 5.6.0
    
    @param WP_Error $error Error object to export into.
    
    Defined in <ROOT>/wp-includes/class-wp-error.php:290
    public get_all_error_data($code = "") -> mixed[] Array of error data, if it exists.
    Retrieves all error data for an error code in the order in which the data was added.
    
    @since 5.6.0
    
    @param string|int $code Error code.
    @return mixed[] Array of error data, if it exists.
    
    Defined in <ROOT>/wp-includes/class-wp-error.php:238
    public get_error_code() -> string|int Empty string, if no error codes.
    Retrieves the first error code available.
    
    @since 2.1.0
    
    @return string|int Empty string, if no error codes.
    
    Defined in <ROOT>/wp-includes/class-wp-error.php:90
    public get_error_codes() -> array List of error codes, if available.
    Retrieves all error codes.
    
    @since 2.1.0
    
    @return array List of error codes, if available.
    
    Defined in <ROOT>/wp-includes/class-wp-error.php:75
    public get_error_data($code = "") -> mixed Error data, if it exists.
    Retrieves the most recently added error data for an error code.
    
    @since 2.1.0
    
    @param string|int $code Optional. Error code.
    @return mixed Error data, if it exists.
    
    Defined in <ROOT>/wp-includes/class-wp-error.php:156
    public get_error_message($code = "") -> string The error message.
    Gets a single error message.
    
    This will get the first message available for the code. If no code is
    given then the first code available will be used.
    
    @since 2.1.0
    
    @param string|int $code Optional. Error code to retrieve message.
    @return string The error message.
    
    Defined in <ROOT>/wp-includes/class-wp-error.php:137
    public get_error_messages($code = "") -> array Error strings on success, or empty array if there are none.
    Retrieves all error messages, or the error messages for the given error code.
    
    @since 2.1.0
    
    @param string|int $code Optional. Retrieve messages matching code, if exists.
    @return array Error strings on success, or empty array if there are none.
    
    Defined in <ROOT>/wp-includes/class-wp-error.php:108
    public has_errors() -> bool If the instance contains errors.
    Verifies if the instance contains errors.
    
    @since 5.1.0
    
    @return bool If the instance contains errors.
    
    Defined in <ROOT>/wp-includes/class-wp-error.php:173
    public merge_from(WP_Error $error)
    Merges the errors in the given error object into this one.
    
    @since 5.6.0
    
    @param WP_Error $error Error object to merge.
    
    Defined in <ROOT>/wp-includes/class-wp-error.php:279
    public remove($code)
    Removes the specified error.
    
    This function removes all error messages associated with the specified
    error code, along with any error data for that code.
    
    @since 4.1.0
    
    @param string|int $code Error code.
    
    Defined in <ROOT>/wp-includes/class-wp-error.php:266
    protected static copy_errors(WP_Error $from, WP_Error $to)
    Copies errors from one WP_Error instance to another.
    
    @since 5.6.0
    
    @param WP_Error $from The WP_Error to copy from.
    @param WP_Error $to   The WP_Error to copy to.
    
    Defined in <ROOT>/wp-includes/class-wp-error.php:302