TypeError: this.props.actions.createUserSessionAction is not a function

Can someone help me and tell me what this error means and how i can solve this error ??

TypeError: this.props.actions.createUserSessionAction is not a function
Login.createSession

  46 |    this.displayMessage(null);
  47 | 
  48 |    this.setState(Object.assign({}, this.state, {loggingIn: true}));
> 49 |    this.props.actions.createUserSessionAction(this.state.session);
  50 |  }
  51 | 
  52 |  componentWillReceiveProps(nextProps) {
View compiled
onClick

  102 |     </div>
  103 |   </div>
  104 | </div>
> 105 | <input id="button" className="button3 login" type="button" disabled={this.state.loggingIn} value="Login" onClick={() => this.createSession()}/>
  106 | </div>

Here is the code for createSession() method

createSession() {
    if (!this.state.session.name || this.state.session.name == '') {
      this.displayMessage('Username not supplied', 'ERROR');
      return;
    }

    if (!this.state.session.password || this.state.session.password == '') {
      this.displayMessage('Password not supplied', 'ERROR');
      return;
    }

   this.displayMessage(null);

    this.setState(Object.assign({}, this.state, {loggingIn: true}));
    this.props.actions.createUserSessionAction(this.state.session);
  }

You’re trying to call something as a function that doesn’t exist or is not a function. Where is createUserSessionAction defined? Where is actions getting set?