Wallet features does not work correctly

This topic contains 1 reply, has 2 voices, and was last updated by  Alex 1 year, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6862

    zayarthaungtin
    Participant

    I follow the guide lines but there is still errors in wallet features and error show like this.

    GET http://course.com.mm/wp-json/wplms/v1/user/wallet 403 (Forbidden)

    ERROR Response {_body: “{“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:403}}”, status: 403, ok: false, statusText: “Forbidden”, headers: Headers, …}headers: Headers {_headers: Map(1), _normalizedNames: Map(1)}ok: falsestatus: 403statusText: “Forbidden”type: 2url: “http://course.com.mm/wp-json/wplms/v1/user/subscribe”_body: “{“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:403}}”__proto__: Body

    defaultErrorLogger@core.js:1350
    ErrorHandler.handleError@core.js:1411
    IonicErrorHandler.handleError@ionic-error-handler.js:61
    next@core.js:5376
    schedulerFn@core.js:4223
    SafeSubscriber.__tryOrUnsub@Subscriber.js:238
    SafeSubscriber.next@Subscriber.js:185
    Subscriber._next@Subscriber.js:125
    Subscriber.next@Subscriber.js:89
    Subject.next@Subject.js:55
    EventEmitter.emit@core.js:4203
    (anonymous)@core.js:4651
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    NgZone.runOutsideAngular@core.js:4577
    onHandleError@core.js:4651
    t.handleError@polyfills.js:3
    r.runTask@polyfills.js:3
    e.invokeTask@polyfills.js:3
    p@polyfills.js:2
    v@polyfills.js:2
    XMLHttpRequest.send (async)
    s@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    onScheduleTask@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    r.scheduleTask@polyfills.js:3
    r.scheduleMacroTask@polyfills.js:3
    (anonymous)@polyfills.js:3
    o.(anonymous function)@polyfills.js:2
    (anonymous)@http.js:1605
    Observable._trySubscribe@Observable.js:172
    Observable.subscribe@Observable.js:160
    MapOperator.call@map.js:56
    Observable.subscribe@Observable.js:157
    webpackJsonp.65.CoursePage.buyCourse@course.ts:276
    (anonymous)@CoursePage.ngfactory.js:79
    handleEvent@core.js:13255
    handleEvent@core.js:13982
    dispatchEvent@core.js:9704
    (anonymous)@core.js:10318
    (anonymous)@platform-browser.js:2614
    t.invokeTask@polyfills.js:3
    onInvokeTask@core.js:4620
    t.invokeTask@polyfills.js:3
    r.runTask@polyfills.js:3
    e.invokeTask@polyfills.js:3
    p@polyfills.js:2
    v@polyfills.js:2

    And also student and instructor profile does not show also

    GET http://course.com.mm/wp-json/wplms/v1/user/profile 403 (Forbidden)

    ERROR Response {_body: “{“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:403}}”, status: 403, ok: false, statusText: “Forbidden”, headers: Headers, …}headers: Headers_headers: Map(1) {“content-type” => Array(1)}_normalizedNames: Map(1) {“content-type” => “content-type”}__proto__: Objectok: falsestatus: 403statusText: “Forbidden”type: 2url: “http://course.com.mm/wp-json/wplms/v1/user/profile”_body: “{“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:403}}”__proto__: Body

    defaultErrorLogger@core.js:1350
    ErrorHandler.handleError@core.js:1411
    IonicErrorHandler.handleError@ionic-error-handler.js:61
    next@core.js:5376
    schedulerFn@core.js:4223
    SafeSubscriber.__tryOrUnsub@Subscriber.js:238
    SafeSubscriber.next@Subscriber.js:185
    Subscriber._next@Subscriber.js:125
    Subscriber.next@Subscriber.js:89
    Subject.next@Subject.js:55
    EventEmitter.emit@core.js:4203
    (anonymous)@core.js:4651
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    NgZone.runOutsideAngular@core.js:4577
    onHandleError@core.js:4651
    t.handleError@polyfills.js:3
    r.runTask@polyfills.js:3
    e.invokeTask@polyfills.js:3
    p@polyfills.js:2
    v@polyfills.js:2
    XMLHttpRequest.send (async)
    s@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    onScheduleTask@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    r.scheduleTask@polyfills.js:3
    r.scheduleMacroTask@polyfills.js:3
    (anonymous)@polyfills.js:3
    o.(anonymous function)@polyfills.js:2
    (anonymous)@http.js:1605
    Observable._trySubscribe@Observable.js:172
    Observable.subscribe@Observable.js:160
    MapOperator.call@map.js:56
    Observable.subscribe@Observable.js:157
    webpackJsonp.44.ProfilePage.ngOnInit@profile.ts:123
    checkAndUpdateDirectiveInline@core.js:12095
    checkAndUpdateNodeInline@core.js:13598
    checkAndUpdateNode@core.js:13541
    prodCheckAndUpdateNode@core.js:14244
    (anonymous)@ProfilePage_Host.ngfactory.js:12
    updateDirectives@core.js:13985
    checkAndUpdateView@core.js:13508
    ViewRef_.detectChanges@core.js:11300
    NavControllerBase._viewAttachToDOM@nav-controller-base.js:460
    Tab._viewAttachToDOM@tab.js:286
    NavControllerBase._transition@nav-controller-base.js:540
    (anonymous)@nav-controller-base.js:261
    t.invoke@polyfills.js:3
    onInvoke@core.js:4629
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    (anonymous)@polyfills.js:3
    t.invokeTask@polyfills.js:3
    onInvokeTask@core.js:4620
    t.invokeTask@polyfills.js:3
    r.runTask@polyfills.js:3
    o@polyfills.js:3
    e.invokeTask@polyfills.js:3
    p@polyfills.js:2
    v@polyfills.js:2

    XHR failed loading: GET “http://course.com.mm/wp-json/wplms/v1/user/profile”.

    GET http://course.com.mm/wp-json/wplms/v1/user/chart/quiz 403 (Forbidden)

    ERROR Response {_body: “{“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:403}}”, status: 403, ok: false, statusText: “Forbidden”, headers: Headers, …}headers: Headers {_headers: Map(1), _normalizedNames: Map(1)}ok: falsestatus: 403statusText: “Forbidden”type: 2url: “http://course.com.mm/wp-json/wplms/v1/user/chart/quiz”_body: “{“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:403}}”__proto__: Body

    defaultErrorLogger@core.js:1350
    ErrorHandler.handleError@core.js:1411
    IonicErrorHandler.handleError@ionic-error-handler.js:61
    next@core.js:5376
    schedulerFn@core.js:4223
    SafeSubscriber.__tryOrUnsub@Subscriber.js:238
    SafeSubscriber.next@Subscriber.js:185
    Subscriber._next@Subscriber.js:125
    Subscriber.next@Subscriber.js:89
    Subject.next@Subject.js:55
    EventEmitter.emit@core.js:4203
    (anonymous)@core.js:4651
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    NgZone.runOutsideAngular@core.js:4577
    onHandleError@core.js:4651
    t.handleError@polyfills.js:3
    r.runTask@polyfills.js:3
    e.invokeTask@polyfills.js:3
    p@polyfills.js:2
    v@polyfills.js:2
    XMLHttpRequest.send (async)
    s@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    onScheduleTask@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    r.scheduleTask@polyfills.js:3
    r.scheduleMacroTask@polyfills.js:3
    (anonymous)@polyfills.js:3
    o.(anonymous function)@polyfills.js:2
    (anonymous)@http.js:1605
    Observable._trySubscribe@Observable.js:172
    Observable.subscribe@Observable.js:160
    MapOperator.call@map.js:56
    Observable.subscribe@Observable.js:157
    webpackJsonp.44.ProfilePage.ionViewDidEnter@profile.ts:144
    ViewController._lifecycle@view-controller.js:486
    ViewController._didEnter@view-controller.js:395
    NavControllerBase._didEnter@nav-controller-base.js:792
    NavControllerBase._transitionFinish@nav-controller-base.js:623
    (anonymous)@nav-controller-base.js:609
    t.invoke@polyfills.js:3
    onInvoke@core.js:4629
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    NgZone.run@core.js:4446
    (anonymous)@nav-controller-base.js:608
    t.invoke@polyfills.js:3
    onInvoke@core.js:4629
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    (anonymous)@polyfills.js:3
    t.invokeTask@polyfills.js:3
    onInvokeTask@core.js:4620
    t.invokeTask@polyfills.js:3
    r.runTask@polyfills.js:3
    o@polyfills.js:3
    Promise.then (async)
    r@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    onScheduleTask@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    r.scheduleTask@polyfills.js:3
    r.scheduleMicroTask@polyfills.js:3
    f@polyfills.js:3
    c@polyfills.js:3
    (anonymous)@polyfills.js:3
    Animation._didFinish@animation.js:994
    Animation._didFinishAll@animation.js:981
    onTransitionEnd@animation.js:428
    onTransitionEnd@platform.js:610

    XHR failed loading: GET “http://course.com.mm/wp-json/wplms/v1/user/chart/quiz”.

    GET http://course.com.mm/wp-json/wplms/v1/user/chart/course 403 (Forbidden)

    ERROR Response {_body: “{“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:403}}”, status: 403, ok: false, statusText: “Forbidden”, headers: Headers, …}headers: Headers {_headers: Map(1), _normalizedNames: Map(1)}ok: falsestatus: 403statusText: “Forbidden”type: 2url: “http://course.com.mm/wp-json/wplms/v1/user/chart/course”_body: “{“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:403}}”__proto__: Body

    defaultErrorLogger@core.js:1350
    ErrorHandler.handleError@core.js:1411
    IonicErrorHandler.handleError@ionic-error-handler.js:61
    next@core.js:5376
    schedulerFn@core.js:4223
    SafeSubscriber.__tryOrUnsub@Subscriber.js:238
    SafeSubscriber.next@Subscriber.js:185
    Subscriber._next@Subscriber.js:125
    Subscriber.next@Subscriber.js:89
    Subject.next@Subject.js:55
    EventEmitter.emit@core.js:4203
    (anonymous)@core.js:4651
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    NgZone.runOutsideAngular@core.js:4577
    onHandleError@core.js:4651
    t.handleError@polyfills.js:3
    r.runTask@polyfills.js:3
    e.invokeTask@polyfills.js:3
    p@polyfills.js:2
    v@polyfills.js:2
    XMLHttpRequest.send (async)
    s@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    onScheduleTask@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    r.scheduleTask@polyfills.js:3
    r.scheduleMacroTask@polyfills.js:3
    (anonymous)@polyfills.js:3
    o.(anonymous function)@polyfills.js:2
    (anonymous)@http.js:1605
    Observable._trySubscribe@Observable.js:172
    Observable.subscribe@Observable.js:160
    MapOperator.call@map.js:56
    Observable.subscribe@Observable.js:157
    webpackJsonp.44.ProfilePage.ionViewDidEnter@profile.ts:168
    ViewController._lifecycle@view-controller.js:486
    ViewController._didEnter@view-controller.js:395
    NavControllerBase._didEnter@nav-controller-base.js:792
    NavControllerBase._transitionFinish@nav-controller-base.js:623
    (anonymous)@nav-controller-base.js:609
    t.invoke@polyfills.js:3
    onInvoke@core.js:4629
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    NgZone.run@core.js:4446
    (anonymous)@nav-controller-base.js:608
    t.invoke@polyfills.js:3
    onInvoke@core.js:4629
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    (anonymous)@polyfills.js:3
    t.invokeTask@polyfills.js:3
    onInvokeTask@core.js:4620
    t.invokeTask@polyfills.js:3
    r.runTask@polyfills.js:3
    o@polyfills.js:3
    Promise.then (async)
    r@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    onScheduleTask@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    r.scheduleTask@polyfills.js:3
    r.scheduleMicroTask@polyfills.js:3
    f@polyfills.js:3
    c@polyfills.js:3
    (anonymous)@polyfills.js:3
    Animation._didFinish@animation.js:994
    Animation._didFinishAll@animation.js:981
    onTransitionEnd@animation.js:428
    onTransitionEnd@platform.js:610

    XHR failed loading: GET “http://course.com.mm/wp-json/wplms/v1/user/chart/course”.

    And also show the error below after login

    ERROR TypeError: Cannot read property ‘push’ of null

    at Tab.NavControllerBase._queueTrns (nav-controller-base.js:182)

    at Tab.NavControllerBase.setPages (nav-controller-base.js:153)

    at Tab.NavControllerBase.setRoot (nav-controller-base.js:143)

    at Toast._onDidDismiss (profile.ts:432)

    at Toast.ViewController._willUnload (view-controller.js:430)

    at OverlayPortal.NavControllerBase._willUnload (nav-controller-base.js:828)

    at OverlayPortal.NavControllerBase._cleanup (nav-controller-base.js:730)

    at OverlayPortal.NavControllerBase._transitionFinish (nav-controller-base.js:629)

    at nav-controller-base.js:609

    at t.invoke (polyfills.js:3)

    defaultErrorLogger@core.js:1350
    ErrorHandler.handleError@core.js:1411
    IonicErrorHandler.handleError@ionic-error-handler.js:61
    NavControllerBase._willUnload@nav-controller-base.js:833
    NavControllerBase._cleanup@nav-controller-base.js:730
    NavControllerBase._transitionFinish@nav-controller-base.js:629
    (anonymous)@nav-controller-base.js:609
    t.invoke@polyfills.js:3
    onInvoke@core.js:4629
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    NgZone.run@core.js:4446
    (anonymous)@nav-controller-base.js:608
    t.invoke@polyfills.js:3
    onInvoke@core.js:4629
    t.invoke@polyfills.js:3
    r.run@polyfills.js:3
    (anonymous)@polyfills.js:3
    t.invokeTask@polyfills.js:3
    onInvokeTask@core.js:4620
    t.invokeTask@polyfills.js:3
    r.runTask@polyfills.js:3
    o@polyfills.js:3
    Promise.then (async)
    r@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    onScheduleTask@polyfills.js:3
    t.scheduleTask@polyfills.js:3
    r.scheduleTask@polyfills.js:3
    r.scheduleMicroTask@polyfills.js:3
    f@polyfills.js:3
    c@polyfills.js:3
    (anonymous)@polyfills.js:3
    Animation._didFinish@animation.js:994
    Animation._didFinishAll@animation.js:981
    onTransitionEnd@animation.js:428
    onTransitionEnd@platform.js:610

    Please help me to fix this bug and thank you.

    • This topic was modified 1 year, 2 months ago by  Alex.
    #6973

    Alex
    Keymaster

    Okay seems like api is not returning the proper data .
    Please try adding this line in your .htaccess file :

    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0

     

    Also make sure that your vibe course module plugin is updated to latest version 3.4.1 /

     

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Template Design © VibeThemes. All rights reserved.