Ninja Forms
-
Hello,
When updating WordPress to the latest version, Ninja Forms -a stopped working until deactivating the Autoptimize plugin. If it is deactivated, the Ninja Forms works for me, if it is activated, the Ninja Forms stays loading.
Thanks. Jon Aretxabaleta
The page I need help with: [log in to see the link]
-
First and foremost try to identify what is breaking things by just disabling CSS or JS or HTML or Image optimization (incl. lazyload). Based on that we can see what the next steps need to be 🙂
frank
Hi, thanks for your quick reply.
I have done what you said and what is breaking is the JS optimization. I have Optimize java Script Code and Add JS files enabled only in JS part.
Thanks
OK, when “optimize javascript” is on, what errors do you see on the browser console?
This is my page: https://www.sarean.eus/prentsa-harremana/
And this is the Console:
Esta página utiliza la propiedad no estándar “zoom”. Considere usar calc() en los valores de propiedad relevantes, o usar “transform” junto con “transform-origin: 0 0”. prentsa-harremana
Ahora se permite el posicionamiento relativo de filas y grupos de filas de tablas. Este sitio puede necesitar ser actualizado porque puede basarse en que esta funcionalidad no tenga efecto. prentsa-harremana
Ha fallado la carga del <script> con origen “https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”. prentsa-harremana:191:1
Uncaught ReferenceError: Main is not defined
<anonymous> https://www.sarean.eus/prentsa-harremana/:230
prentsa-harremana:230:1
<anonymous> https://www.sarean.eus/prentsa-harremana/:230JQMIGRATE: Migrate is installed, version 3.3.2 autoptimize_084bed59cd9d154770ac595d28c0aa03.js:2:709
Uncaught TypeError: $(…).draggable is not a function
<anonymous> https://www.sarean.eus/wp-content/cache/autoptimize/js/autoptimize_084bed59cd9d154770ac595d28c0aa03.js:2476
autoptimize_084bed59cd9d154770ac595d28c0aa03.js:2476:269
<anonymous> https://www.sarean.eus/wp-content/cache/autoptimize/js/autoptimize_084bed59cd9d154770ac595d28c0aa03.js:2476La solicitud de acceso a las cookies o al almacenamiento en “https://googleads.g.doubleclick.net/pagead/viewthroughconversion/958285210/?random=1621933723356&cv=9&fst=1621933723356&num=1&guid=ON&resp=GooglemKTybQhCsO&eid=2505059650&u_h=1080&u_w=1920&u_ah=1040&u_aw=1920&u_cd=24&u_his=2&u_tz=120&u_java=false&u_nplug=0&u_nmime=0&sendb=1&ig=1&frm=0&url=https%3A%2F%2Fwww.sarean.eus%2Fprentsa-harremana%2F&ref=https%3A%2F%2Fwww.sarean.eus%2F&tiba=Prentsa-harremana%20-%20Sarean%20.eus&hn=www.googleadservices.com&rfmt=3&fmt=4” fue bloqueada porque provino de un rastreador y está habilitado el bloqueo de contenido.Algunas cookies están haciendo mal uso del atributo recomendado “SameSite“ 5
Solicitud desde otro origen bloqueada: la política de mismo origen impide leer el recurso remoto en https://sarean-biltegia.s3.eu-west-3.amazonaws.com/5_+denboraldia/148/JOSU+_01.mp3 (razón: falta la cabecera CORS ‘Access-Control-Allow-Origin’).
I’m also getting the “$(…).draggable is not a function” error when Autoptimize is off (by adding
?ao_noptimize=1to the URL), so you’ll have to check that with the Sonaar player developers.The “main is not defined” is due to “simple share buttons”, try adding
plugins/simple-share-buttons-adder/to the comma-separated JS optimization exclusion list.If the from problem persists, try also adding
ninja-forms/assets/js/to the JS exclusion list?Hi,
Adding the two things to the exclusions of JS still does not work, adding simple button, if the error you say goes away, but adding ninjaform / assets … the console gives me many more errors. Right now I have added the two things that you have told me in exclusions.
ThanksOK, in that case in the optimization exclusion field try excluding one of below each line?
*
wp-content/themes
* ORwp-content/plugins
* ORwp-includes/jsHi,
Adding the following two: ninja-forms/assets/js/, wp-includes/js , works the Form for me.
Thanks for your attention and quick response 🙂you’re welcome, feel free to leave a review of the plugin and support here! 🙂
The topic ‘Ninja Forms’ is closed to new replies.