Support » Plugin: AMP for WP - Accelerated Mobile Pages » One signal broken

  • One signal enabled, app id added, there is nothing on /amp/ pages and this is put out in chrome console:

    v0.js:80 <amp-web-push> must have a valid helper-iframe-url attribute. It should begin with the https:// protocol and point to the provided lightweight template page provided for AMP messaging.​​​ <amp-web-push id=​"amp-web-push" layout=​"nodisplay" helper-iframe-url=​"http:​/​/​debesyla.lt/​wp-content/​plugins/​accelerated-mobile-pages/​includes/​onesignal-integration/​amp-helper-frame.html?appId=908524f7-c052-4aff-a574-a60c42350c80" permission-dialog-url=​"http:​/​/​debesyla.lt/​wp-content/​plugins/​accelerated-mobile-pages/​includes/​onesignal-integration/​amp-permission-dialog.html?appId=908524f7-c052-4aff-a574-a60c42350c80" service-worker-url=​"https:​/​/​debesyla.lt/​wp-content/​plugins/​onesignal-free-web-push-notifications/​sdk_files/​OneSignalSDKWorker.js.php?appId=908524f7-c052-4aff-a574-a60c42350c80" class=​"i-amphtml-element i-amphtml-notbuilt amp-notbuilt i-amphtml-layout-nodisplay i-amphtml-display i-amphtml-error" style=​"display:​ none;​">​
    	 ​</amp-web-push>​
    ie @ v0.js:80
    (anonymous) @ resource.js:652
    Promise.then (async)
    Jh.b.build @ resource.js:619
    f.build @ preconnect.js:213
    Rj @ input.js:200
    Qj @ input.js:131
    f.upgraded @ input.js:224
    Jh.b.ed @ resource.js:517
    Jh.b.Rf @ custom-element.js:309
    Jh.b.upgrade @ layout-rect.js:216
    Mh @ custom-element.js:862
    Ol @ vsync-impl.js:302
    Nl @ vsync-impl.js:302
    (anonymous) @ vsync-impl.js:285
    f.addDocFactory @ vsync-impl.js:355
    f.addElement @ vsync-impl.js:284
    (anonymous) @ amp-web-push.js:36
    f @ amp-web-push.js:34
    f.registerExtension @ viewport-impl.js:1127
    (anonymous) @ viewer-impl.js:360
    Promise.then (async)
    amp-web-push @ viewer-impl.js:356
    qg @ url-replacements-impl.js:914
    (anonymous) @ url-replacements-impl.js:931
    Promise.then (async)
    rg @ url-replacements-impl.js:925
    og.runForStartup @ url-replacements-impl.js:1049
    ng @ url-replacements-impl.js:962
    c @ viewer-impl.js:366
    (anonymous) @ viewer-impl.js:447
    (anonymous) @ resources-impl.js:2148
    setTimeout (async)
    f.delay @ resources-impl.js:2148
    jm @ viewer-impl.js:567
    hm @ viewer-impl.js:433
    km @ viewer-impl.js:504
    g @ viewer-impl.js:977
    qg @ url-replacements-impl.js:914
    og.Qe @ url-replacements-impl.js:1094
    (anonymous) @ url-replacements-impl.js:1103
    Promise.then (async)
    ug @ url-replacements-impl.js:1102
    og.Ka @ url-replacements-impl.js:1120
    (anonymous) @ url-replacements-impl.js:1060
    Promise.then (async)
    sg @ url-replacements-impl.js:1055
    og.runForStartup @ url-replacements-impl.js:1051
    ng @ url-replacements-impl.js:962
    (anonymous) @ viewer-impl.js:973
    Qd @ document-register-element.node.js:1244
    initial @ viewer-impl.js:944
    qg @ url-replacements-impl.js:914
    og.Qe @ url-replacements-impl.js:1094
    (anonymous) @ url-replacements-impl.js:1103
    Promise.then (async)
    ug @ url-replacements-impl.js:1102
    og.Ka @ url-replacements-impl.js:1120
    (anonymous) @ url-replacements-impl.js:1060
    Promise.then (async)
    sg @ url-replacements-impl.js:1055
    og.runForStartup @ url-replacements-impl.js:1051
    ng @ url-replacements-impl.js:962
    (anonymous) @ viewer-impl.js:924
    (anonymous) @ viewer-impl.js:1037
    log.js:505 Uncaught (in promise) Error: failed to build: amp-web-push#15: <amp-web-push> must have a valid helper-iframe-url attribute. It should begin with the https:// protocol and point to the provided lightweight template page provided for AMP messaging.
        at sa (log.js:505)
        at qa.f.createError (log.js:263)
        at Q.push.f.f.validate (amp-web-push-config.js:88)
        at Q.push.f.f.buildCallback (amp-web-push-config.js:148)
        at resource.js:618
        at new Promise (<anonymous>)
        at HTMLElement.Jh.b.build (resource.js:590)
        at yh.f.build (preconnect.js:213)
        at Rj (input.js:200)
        at Qj (input.js:131)
    sa @ log.js:505
    f.createError @ log.js:263
    push.f.f.validate @ amp-web-push-config.js:88
    push.f.f.buildCallback @ amp-web-push-config.js:148
    (anonymous) @ resource.js:618
    Jh.b.build @ resource.js:590
    f.build @ preconnect.js:213
    Rj @ input.js:200
    Qj @ input.js:131
    f.upgraded @ input.js:224
    Jh.b.ed @ resource.js:517
    Jh.b.Rf @ custom-element.js:309
    Jh.b.upgrade @ layout-rect.js:216
    Mh @ custom-element.js:862
    Ol @ vsync-impl.js:302
    Nl @ vsync-impl.js:302
    (anonymous) @ vsync-impl.js:285
    f.addDocFactory @ vsync-impl.js:355
    f.addElement @ vsync-impl.js:284
    (anonymous) @ amp-web-push.js:36
    f @ amp-web-push.js:34
    f.registerExtension @ viewport-impl.js:1127
    (anonymous) @ viewer-impl.js:360
    Promise.then (async)
    Rj @ input.js:200
    Qj @ input.js:131
    f.upgraded @ input.js:224
    Jh.b.ed @ resource.js:517
    Jh.b.Rf @ custom-element.js:309
    Jh.b.upgrade @ layout-rect.js:216
    Mh @ custom-element.js:862
    Ol @ vsync-impl.js:302
    Nl @ vsync-impl.js:302
    (anonymous) @ vsync-impl.js:285
    f.addDocFactory @ vsync-impl.js:355
    f.addElement @ vsync-impl.js:284
    (anonymous) @ amp-web-push.js:36
    f @ amp-web-push.js:34
    f.registerExtension @ viewport-impl.js:1127
    (anonymous) @ viewer-impl.js:360
    Promise.then (async)
    amp-web-push @ viewer-impl.js:356
    qg @ url-replacements-impl.js:914
    (anonymous) @ url-replacements-impl.js:931
    Promise.then (async)
    rg @ url-replacements-impl.js:925
    og.runForStartup @ url-replacements-impl.js:1049
    ng @ url-replacements-impl.js:962
    c @ viewer-impl.js:366
    (anonymous) @ viewer-impl.js:447
    (anonymous) @ resources-impl.js:2148
    setTimeout (async)
    f.delay @ resources-impl.js:2148
    jm @ viewer-impl.js:567
    hm @ viewer-impl.js:433
    km @ viewer-impl.js:504
    g @ viewer-impl.js:977
    qg @ url-replacements-impl.js:914
    og.Qe @ url-replacements-impl.js:1094
    (anonymous) @ url-replacements-impl.js:1103
    Promise.then (async)
    ug @ url-replacements-impl.js:1102
    og.Ka @ url-replacements-impl.js:1120
    (anonymous) @ url-replacements-impl.js:1060
    Promise.then (async)
    sg @ url-replacements-impl.js:1055
    og.runForStartup @ url-replacements-impl.js:1051
    ng @ url-replacements-impl.js:962
    (anonymous) @ viewer-impl.js:973
    Qd @ document-register-element.node.js:1244
    initial @ viewer-impl.js:944
    qg @ url-replacements-impl.js:914
    og.Qe @ url-replacements-impl.js:1094
    (anonymous) @ url-replacements-impl.js:1103
    Promise.then (async)
    ug @ url-replacements-impl.js:1102
    og.Ka @ url-replacements-impl.js:1120
    (anonymous) @ url-replacements-impl.js:1060
    Promise.then (async)
    sg @ url-replacements-impl.js:1055
    og.runForStartup @ url-replacements-impl.js:1051
    ng @ url-replacements-impl.js:962
    (anonymous) @ viewer-impl.js:924
    (anonymous) @ viewer-impl.js:1037
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘One signal broken’ is closed to new replies.