• Good evening,

    I hope you can help, I have installed the onesignal plugin on wordpress and initially I was able to register and it showed in the onesignal dashboard. After I deleted the user from the dashboard I have never been to reregister since. The popup dosent even come up when clicking on the bell.

    Although every time I do click on the bell, the below error (1st one) goes up in number at the rate of clicking the bell

    The below are the two codes that are there on page load.

    Failed to create user. Error "Cannot read properties of undefined (reading 'then')" TypeError: Cannot read properties of undefined (reading 'then')
    at I.call (https://cdn.onesignal.com/sdks/OneSignalPageSDKES6.js?v=151605:1:56602)
    at I.post (https://cdn.onesignal.com/sdks/OneSignalPageSDKES6.js?v=151605:1:55719)
    at C. (https://cdn.onesignal.com/sdks/OneSignalPageSDKES6.js?v=151605:1:57679)
    at Generator.next ()
    at https://cdn.onesignal.com/sdks/OneSignalPageSDKES6.js?v=151605:1:883
    at new Promise ()
    at n (https://cdn.onesignal.com/sdks/OneSignalPageSDKES6.js?v=151605:1:660)
    at C.createUser (https://cdn.onesignal.com/sdks/OneSignalPageSDKES6.js?v=151605:1:57582)
    at Gt. (https://cdn.onesignal.com/sdks/OneSignalPageSDKES6.js?v=151605:1:192558)
    at Generator.next ()
    (anonymous) @ UpdateManager.js:92
    a @ tslib.es6.js:63
    Promise.then (async)
    c @ tslib.es6.js:64
    r @ tslib.es6.js:62
    Promise.then (async)
    c @ tslib.es6.js:64
    (anonymous) @ tslib.es6.js:65
    n @ tslib.es6.js:61
    sendPlayerCreate @ UpdateManager.js:77
    (anonymous) @ SubscriptionManager.js:121
    r @ tslib.es6.js:62
    Promise.then (async)
    c @ tslib.es6.js:64
    (anonymous) @ tslib.es6.js:65
    n @ tslib.es6.js:61
    registerSubscription @ SubscriptionManager.js:103
    (anonymous) @ SubscriptionHelper.js:53
    r @ tslib.es6.js:62
    Promise.then (async)
    c @ tslib.es6.js:64
    (anonymous) @ tslib.es6.js:65
    n @ tslib.es6.js:61
    internalRegisterForPush @ SubscriptionHelper.js:20
    (anonymous) @ SubscriptionHelper.js:18
    (anonymous) @ tslib.es6.js:65
    n @ tslib.es6.js:61
    registerForPush @ SubscriptionHelper.js:16
    (anonymous) @ InitHelper.js:375
    r @ tslib.es6.js:62
    Promise.then (async)
    c @ tslib.es6.js:64
    (anonymous) @ tslib.es6.js:65
    n @ tslib.es6.js:61
    handleAutoResubscribe @ InitHelper.js:370
    (anonymous) @ InitHelper.js:76
    r @ tslib.es6.js:62
    Promise.then (async)
    c @ tslib.es6.js:64
    r @ tslib.es6.js:62
    Promise.then (async)
    c @ tslib.es6.js:64
    (anonymous) @ tslib.es6.js:65
    n @ tslib.es6.js:61
    sessionInit @ InitHelper.js:48
    (anonymous) @ InitHelper.js:38
    r @ tslib.es6.js:62
    Promise.then (async)
    c @ tslib.es6.js:64
    (anonymous) @ tslib.es6.js:65
    n @ tslib.es6.js:61
    internalInit @ InitHelper.js:27
    (anonymous) @ OneSignal.js:206
    r @ tslib.es6.js:62
    Promise.then (async)
    c @ tslib.es6.js:64
    r @ tslib.es6.js:62
    Promise.then (async)
    c @ tslib.es6.js:64
    (anonymous) @ tslib.es6.js:65
    n @ tslib.es6.js:61
    e @ OneSignal.js:164
    (anonymous) @ OneSignal.js:209
    (anonymous) @ tslib.es6.js:65
    n @ tslib.es6.js:61
    delayedInit @ OneSignal.js:160
    (anonymous) @ OneSignal.js:158
    r @ tslib.es6.js:62
    Promise.then (async)
    c @ tslib.es6.js:64
    r @ tslib.es6.js:62
    Promise.then (async)
    c @ tslib.es6.js:64
    (anonymous) @ tslib.es6.js:65
    n @ tslib.es6.js:61
    init @ OneSignal.js:134
    (anonymous) @ VM6479:32
    processItem @ ProcessOneSignalPushCalls.js:5
    push @ OneSignal.js:617
    processAsArray @ ReplayCallsOnOneSignal.js:19
    processAsES6Stub @ ReplayCallsOnOneSignal.js:37
    doReplay @ ReplayCallsOnOneSignal.js:10
    (anonymous) @ pageSdkInit.js:21
    (anonymous) @ pageSdkInit.js:25
    i @ bootstrap:19
    (anonymous) @ bootstrap:68
    (anonymous) @ bootstrap:68
    Show 44 more frames
    Show less
    SlidedownManager.js:340 There was an error showing the OneSignal Slidedown: TypeError: Cannot read properties of undefined (reading 'json')
    at fe. (MainHelper.js:77:37)
    at Generator.next ()
    at r (tslib.es6.js:62:42)

    I am really at a loss about this. Any ideas on what to try?

    Just for reference I have tried the general issues from therehttps://documentation.onesignal.com/docs/troubleshooting-wordpress-web-push#wordpress-cdn–cache-plugin-support

    Thank you in advance

    • This topic was modified 8 months, 1 week ago by qs21.
  • The topic ‘unable to register as a subscriber’ is closed to new replies.