Pregunta sobre AMP for WP - Accelerated Mobile Pages de Wordpress:

Una se帽al rota

Un usuario pregunt贸 馃憞

Un token habilitado, la identificaci贸n de la aplicaci贸n agregada, nada en / amp / pages y esto se publica en la consola de Chrome:

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:鈥/鈥/鈥媎ebesyla.lt/鈥媤p-content/鈥媝lugins/鈥媋ccelerated-mobile-pages/鈥媔ncludes/鈥媜nesignal-integration/鈥媋mp-helper-frame.html?appId=908524f7-c052-4aff-a574-a60c42350c80" permission-dialog-url=鈥"http:鈥/鈥/鈥媎ebesyla.lt/鈥媤p-content/鈥媝lugins/鈥媋ccelerated-mobile-pages/鈥媔ncludes/鈥媜nesignal-integration/鈥媋mp-permission-dialog.html?appId=908524f7-c052-4aff-a574-a60c42350c80" service-worker-url=鈥"https:鈥/鈥/鈥媎ebesyla.lt/鈥媤p-content/鈥媝lugins/鈥媜nesignal-free-web-push-notifications/鈥媠dk_files/鈥婳neSignalSDKWorker.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

(@vidyut)

Hace 2 a帽os, 6 meses

Puedo confirmar que el amplificador est谩 roto si OneSignal est谩 activo, en tres sitios, estos son los 煤nicos tres en los que intent茅 usar ambos. Los tres no funcionan.

(@ampforwp)

Hace 2 a帽os, 6 meses

Hola @debesyla @vidyut

驴Puede ponerse en contacto conmigo en [email protected] para que pueda comprobarlo en persona y arreglarlo por usted?

(@vidyut)

Hace 2 a帽os, 6 meses

Est谩 trabajando en un sitio con esta actualizaci贸n. Otros me incapacitaron. Habil铆telo y reg铆strelo en uno o dos d铆as.

(@ampforwp)

Hace 2 a帽os, 6 meses

Hola vidyut

De acuerdo, si resuelve este problema en otros sitios, cont谩ctenos en [email protected] para que podamos solucionar el problema en persona.

驴Solucion贸 tu problema??

0 / 0

Deja una respuesta 0

Tu direcci贸n de correo electr贸nico no ser谩 publicada. Los campos obligatorios est谩n marcados con *