Thanks a lot, Armin! I "deactivated" email mentioning at all since it kept JSONing the whole site :) Without email on a project page everything works as it should. I don't know were it gets that "protective email" code injection from since all plugins are turned off and there is no such protection installed on a server. This will remain a mystery I guess.
vvhy
Posts
-
"Your Layout's JSON was invalidated" after updating my project with a new video -
"Your Layout's JSON was invalidated" after updating my project with a new videoThanks, Armin, but unfortunately JSON keeps swearing after I try to update the project with the video ;(
It's weird, cause same LayTheme on a same server but for the different site works perfect with no problems. -
"Your Layout's JSON was invalidated" after updating my project with a new videoUnfortunately neither update, nor this code solved the issue :( The whole thing keeps being unstable (and Cloud Flare btw doesn't make it any less difficult – check out how vvhy.tv looks via "http" and compare it to "https" version, but that's the whole another story..). We don't want to switch to another theme, cause yours is the best and aesthetically brilliant though :)
I created a user for you in our CMS just in case you could investigate it by your own. There a two projects in Projects section. Public one is the one unstable with JSON error being already there. Copy is just for the backup. It still works and shows no invalidation notices but if I update anything like title or content in it – JSON error will appear there as well. Appreciate if you can look into it. No matter how much errors we get – Lay Theme worth fighting for 100%. Thanks!
UPD: Our homepage became blank btw after the recent JSON error :) We have a backup copy in the draft but if I press Publish page will get JSON error and Gridder will become empty like in that public copy of the page.
UPD2: I've deleted dozens of inactive yet present plugins from the previous theme we used to clarify the path to solution.
-
"Your Layout's JSON was invalidated" after updating my project with a new videoHi! I added another video from YouTube (https://youtu.be/EgRAbT3JsMs) to my project page (which is also my home page – http://vvhy.tv), clicked UPDATE and everything was fine. Then I decided to move this video a little on layout, clicked UPDATE again, and got "JSON invalidated" error. Here's the details – any ideas what I should fix? :) Thanks for your help and your theme, Armin!
ERROR LOG:
{
"colCount": "18",
"colGutter": "1",
"rowGutters": [
5,
5,
5,
5,
5,
5,
5,
5
],
"rowAttrs": [],
"frameMargin": "5",
"topFrameMargin": "5",
"bottomFrameMargin": "5",
"bgColor": null,
"cont": [
{
"type": "text",
"cont": "<p style="line-height: 1.3; text-align: right;"><span style="font-family: helvetica, sans-serif; font-size: 35px;">VVHY is a visual lab of <a href="https://masharova.com" target="_blank">Natasha Masharova</a> and <a href="https://dadakinder.com/visions/" target="_blank">Anatoli Ulyanov</a>. We make documentaries, music videos and photography. Follow us on <a href="https://vvhytv.tumblr.com" target="_blank">Tumblr</a>, <a href="https://www.youtube.com/videoloooch" target="_blank">YouTube</a>, <a href="https://vimeo.com/vvhy" target="_blank">Vimeo</a>, <a href="https://www.facebook.com/vvhy.tv/" target="_blank">Facebook</a>, <a href="https://vk.com/vvhytv" target="_blank">VKontakte</a> and on Instagram: <a href="https://instagram.com/masharova" target="_blank">@masharova</a> + <a href="https://instagram.com/dadakinder" target="_blank">@dadakinder</a>. For inquiries <a href="mailto:vvhy.tv@gmail.com"><span class="s2"><span class="cf_email" data-cfemail="691f1f0110471d1f290e04080005470a0604">[email protected]</span><script data-cfhash='f9e31' type="text/javascript">
/* <![CDATA[ /!function(){try{var t="currentScript"in document?document.currentScript:function(){for(var t=document.getElementsByTagName("script"),e=t.length;e--;)if(t[e].getAttribute("data-cfhash"))return t[e]}();if(t&&t.previousSibling){var e,r,n,i,c=t.previousSibling,a=c.getAttribute("data-cfemail");if(a){for(e="",r=parseInt(a.substr(0,2),16),n=2;a.length-n;n+=2)i=parseInt(a.substr(n,2),16)^r,e+=String.fromCharCode(i);e=document.createTextNode(e),c.parentNode.replaceChild(e,c)}t.parentNode.removeChild(t);}}catch(u){}}()/ ]]> */</script></span></a></span></p>",
"align": "bottom",
"row": 0,
"col": 3,
"colspan": 9,
"offsetx": 0,
"offsety": 0,
"spaceabove": 0,
"spacebelow": 0,
"push": 3,
"yvel": 0
},
{
"type": "video",
"cont": "https://i.ytimg.com/vi/FRpUinBz3oY/hqdefault.jpg",
"iframe": "<iframe width="480" height="270" src="//www.youtube.com/embed/FRpUinBz3oY?enablejsapi=1&wmode=transparent&autohide=1&iv_load_policy=3&modestbranding=1&rel=0&showinfo=0&showsearch=0?&theme=light&color=white" frameborder="0" allowfullscreen></iframe>",
"url": "https://www.youtube.com/watch?v=FRpUinBz3oY",
"align": "bottom",
"row": 1,
"col": 2,
"colspan": 12,
"ar": 0.5625,
"offsetx": 0,
"offsety": 0,
"spaceabove": 0,
"spacebelow": 0,
"push": 2,
"yvel": 0
},
{
"type": "video",
"cont": "https://i.ytimg.com/vi/iCkSfVjjT3k/hqdefault.jpg",
"iframe": "<iframe width="480" height="270" src="//www.youtube.com/embed/iCkSfVjjT3k?enablejsapi=1&wmode=transparent&autohide=1&iv_load_policy=3&modestbranding=1&rel=0&showinfo=0&showsearch=0?&theme=light&color=white" frameborder="0" allowfullscreen></iframe>",
"url": "https://www.youtube.com/watch?v=iCkSfVjjT3k",
"align": "bottom",
"row": 2,
"col": 0,
"colspan": 6,
"ar": 0.5625,
"offsetx": 0,
"offsety": 0,
"spaceabove": 0,
"spacebelow": "17.5",
"push": 0,
"yvel": 0
},
{
"type": "video",
"cont": "https://i.ytimg.com/vi/nyZEZcTAjO4/hqdefault.jpg",
"iframe": "<iframe width="480" height="270" src="//www.youtube.com/embed/nyZEZcTAjO4?enablejsapi=1&wmode=transparent&autohide=1&iv_load_policy=3&modestbranding=1&rel=0&showinfo=0&showsearch=0?&theme=light&color=white" frameborder="0" allowfullscreen></iframe>",
"url": "https://www.youtube.com/watch?v=nyZEZcTAjO4",
"align": "bottom",
"row": 2,
"col": 7,
"colspan": 11,
"ar": 0.5625,
"offsetx": 0,
"offsety": 0,
"spaceabove": 0,
"spacebelow": 0,
"push": 1,
"yvel": 0
},
{
"type": "video",
"cont": "https://i.ytimg.com/vi/j7yROV06hZk/hqdefault.jpg",
"iframe": "<iframe width="480" height="270" src="//www.youtube.com/embed/j7yROV06hZk?enablejsapi=1&wmode=transparent&autohide=1&iv_load_policy=3&modestbranding=1&rel=0&showinfo=0&showsearch=0?&theme=light&color=white" frameborder="0" allowfullscreen></iframe>",
"url": "https://www.youtube.com/watch?v=j7yROV06hZk",
"align": "bottom",
"row": 3,
"col": 1,
"colspan": 16,
"ar": 0.5625,
"offsetx": 0,
"offsety": 0,
"spaceabove": 0,
"spacebelow": 0,
"push": 1,
"yvel": 0
},
{
"type": "video",
"cont": "https://i.ytimg.com/vi/iK6sLc31bE0/hqdefault.jpg",
"iframe": "<iframe width="480" height="270" src="//www.youtube.com/embed/iK6sLc31bE0?enablejsapi=1&wmode=transparent&autohide=1&iv_load_policy=3&modestbranding=1&rel=0&showinfo=0&showsearch=0?&theme=light&color=white" frameborder="0" allowfullscreen></iframe>",
"url": "https://www.youtube.com/watch?v=iK6sLc31bE0",
"align": "bottom",
"row": 4,
"col": 0,
"colspan": 11,
"ar": 0.5625,
"offsetx": "-3.2",
"offsety": 0,
"spaceabove": 0,
"spacebelow": 0,
"push": 0,
"yvel": 0
},
{
"type": "video",
"cont": "https://i.ytimg.com/vi/K-C8zPdpZzY/hqdefault.jpg",
"iframe": "<iframe width="480" height="270" src="//www.youtube.com/embed/K-C8zPdpZzY?enablejsapi=1&wmode=transparent&autohide=1&iv_load_policy=3&modestbranding=1&rel=0&showinfo=0&showsearch=0?&theme=light&color=white" frameborder="0" allowfullscreen></iframe>",
"url": "https://www.youtube.com/watch?v=K-C8zPdpZzY",
"align": "bottom",
"row": 4,
"col": 11,
"colspan": 7,
"ar": 0.5625,
"offsetx": 0,
"offsety": 0,
"spaceabove": 0,
"spacebelow": "5.3",
"push": 0,
"yvel": 0
},
{
"type": "img",
"attid": 1316,
"sizes": {
"_1920": "http://vvhy.tv/wp-content/uploads/2016/02/from-22beautiful-hell22-series-california-2015-1920x1280.jpg",
"_1280": "http://vvhy.tv/wp-content/uploads/2016/02/from-22beautiful-hell22-series-california-2015-1280x853.jpg",
"_1024": "http://vvhy.tv/wp-content/uploads/2016/02/from-22beautiful-hell22-series-california-2015-1024x683.jpg",
"_768": "http://vvhy.tv/wp-content/uploads/2016/02/from-22beautiful-hell22-series-california-2015-768x512.jpg",
"_512": "http://vvhy.tv/wp-content/uploads/2016/02/from-22beautiful-hell22-series-california-2015-512x341.jpg",
"_265": "http://vvhy.tv/wp-content/uploads/2016/02/from-22beautiful-hell22-series-california-2015-265x177.jpg",
"full": "http://vvhy.tv/wp-content/uploads/2016/02/from-22beautiful-hell22-series-california-2015.jpg"
},
"cont": "http://vvhy.tv/wp-content/uploads/2016/02/from-22beautiful-hell22-series-california-2015-1920x1280.jpg",
"align": "bottom",
"row": 5,
"col": 1,
"colspan": 3,
"ar": 0.6666666666666666,
"offsetx": 0,
"offsety": 0,
"spaceabove": 0,
"spacebelow": "3.6",
"push": 1,
"yvel": 0,
"imagelink": "http://masharova.com/",
"newtab": true
},
{
"type": "video",
"cont": "https://i.vimeocdn.com/video/517437368_1280.jpg",
"iframe": "<iframe src="//player.vimeo.com/video/126852056?api=1&title=0&byline=0&portrait=0&color=ffffff" width="1280" height="676" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>",
"url": "https://vimeo.com/126852056",
"align": "bottom",
"row": 5,
"col": 6,
"colspan": 10,
"ar": 0.528125,
"offsetx": 0,
"offsety": 0,
"spaceabove": 0,
"spacebelow": 0,
"push": 2,
"yvel": 0
},
{
"type": "img",
"attid": 1298,
"sizes": {
"_1920": "http://vvhy.tv/wp-content/uploads/2016/02/Masharova_Fire-1920x1080.jpg",
"_1280": "http://vvhy.tv/wp-content/uploads/2016/02/Masharova_Fire-1280x720.jpg",
"_1024": "http://vvhy.tv/wp-content/uploads/2016/02/Masharova_Fire-1024x576.jpg",
"_768": "http://vvhy.tv/wp-content/uploads/2016/02/Masharova_Fire-768x432.jpg",
"_512": "http://vvhy.tv/wp-content/uploads/2016/02/Masharova_Fire-512x288.jpg",
"_265": "http://vvhy.tv/wp-content/uploads/2016/02/Masharova_Fire-265x149.jpg",
"full": "http://vvhy.tv/wp-content/uploads/2016/02/Masharova_Fire.jpg"
},
"cont": "http://vvhy.tv/wp-content/uploads/2016/02/Masharova_Fire-1920x1080.jpg",
"align": "bottom",
"row": 6,
"col": 0,
"colspan": 12,
"ar": 0.5625,
"offsetx": 0,
"offsety": 0,
"spaceabove": 0,
"spacebelow": 0,
"push": 0,
"yvel": 0,
"imagelink": "http://masharova.com/",
"newtab": true
},
{
"type": "img",
"attid": 1315,
"sizes": {
"_1920": "http://vvhy.tv/wp-content/uploads/2016/02/noname-los-angeles-2015-1920x1280.jpg",
"_1280": "http://vvhy.tv/wp-content/uploads/2016/02/noname-los-angeles-2015-1280x853.jpg",
"_1024": "http://vvhy.tv/wp-content/uploads/2016/02/noname-los-angeles-2015-1024x683.jpg",
"_768": "http://vvhy.tv/wp-content/uploads/2016/02/noname-los-angeles-2015-768x512.jpg",
"512": "http://vvhy.tv/wp-content/uploads/2016/02/noname-los-angeles-2015-512x341.jpg",
"265": "http://vvhy.tv/wp-content/uploads/2016/02/noname-los-angeles-2015-265x177.jpg",
"full": "http://vvhy.tv/wp-content/uploads/2016/02/noname-los-angeles-2015.jpg"
},
"cont": "http://vvhy.tv/wp-content/uploads/2016/02/noname-los-angeles-2015-1920x1280.jpg",
"align": "bottom",
"row": 6,
"col": 13,
"colspan": 5,
"ar": 0.6666666666666666,
"offsetx": 0,
"offsety": 0,
"spaceabove": 0,
"spacebelow": "8",
"push": 1,
"yvel": 0,
"imagelink": "http://masharova.com/",
"newtab": true
},
{
"type": "img",
"attid": 1314,
"sizes": {
"1920": "http://vvhy.tv/wp-content/uploads/2016/02/noname-santa-monica-california-2015--1920x1280.jpg",
"1280": "http://vvhy.tv/wp-content/uploads/2016/02/noname-santa-monica-california-2015--1280x853.jpg",
"1024": "http://vvhy.tv/wp-content/uploads/2016/02/noname-santa-monica-california-2015--1024x683.jpg",
"768": "http://vvhy.tv/wp-content/uploads/2016/02/noname-santa-monica-california-2015--768x512.jpg",
"512": "http://vvhy.tv/wp-content/uploads/2016/02/noname-santa-monica-california-2015--512x341.jpg",
"265": "http://vvhy.tv/wp-content/uploads/2016/02/noname-santa-monica-california-2015--265x177.jpg",
"full": "http://vvhy.tv/wp-content/uploads/2016/02/noname-santa-monica-california-2015-.jpg"
},
"cont": "http://vvhy.tv/wp-content/uploads/2016/02/noname-santa-monica-california-2015--1920x1280.jpg",
"align": "bottom",
"row": 7,
"col": 1,
"colspan": 4,
"ar": 0.6666666666666666,
"offsetx": 0,
"offsety": 0,
"spaceabove": 0,
"spacebelow": "4.4",
"push": 1,
"yvel": 0,
"imagelink": "http://masharova.com/",
"newtab": true
},
{
"type": "video",
"cont": "https://i.vimeocdn.com/video/551187970_1280.jpg",
"iframe": "<iframe src="//player.vimeo.com/video/151368881?api=1&title=0&byline=0&portrait=0&color=ffffff" width="1920" height="1080" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>",
"url": "https://vimeo.com/151368881",
"align": "bottom",
"row": 7,
"col": 6,
"colspan": 11,
"ar": 0.5625,
"offsetx": 0,
"offsety": 0,
"spaceabove": 0,
"spacebelow": 0,
"push": 1,
"yvel": 0
},
{
"type": "video",
"cont": "https://i.vimeocdn.com/video/551715257_1280.jpg",
"iframe": "<iframe src="//player.vimeo.com/video/126064749?api=1&title=0&byline=0&portrait=0&color=ffffff" width="1920" height="1080" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>",
"url": "https://vimeo.com/126064749",
"align": "bottom",
"row": 8,
"col": 2,
"colspan": 13,
"ar": 0.5625,
"offsetx": 0,
"offsety": 0,
"spaceabove": 0,
"spacebelow": 0,
"push": 2,
"yvel": 0
}
]
} -
Front/Back end is gone. Gridder is deadThanks, Armin! You're right. Avoiding "preview" and "save draft" solves the problem.
P.S. Laytheme is a miraculous gift to the world btw.
-
Front/Back end is gone. Gridder is deadHello. Laytheme is brilliant. But it’s very unstable for me. I redone my project from scratch about 20 times now and still get the same error – everything works as it should on a draft stage of project creation, but as soon as I publish my project front end disappears, so as Gridder on a backend (After project is published I see no Gridder in the project editing page anymore). I have dozens of duplicated projects for backup purposes now, but none of those copies could be published without everything getting invisible.
My permalink settings are set on a Post Name, but I can’t see any "If your .htaccess file were writable…” line mentioned in a Troubleshooting (there is a line “Lay Theme needs pretty permalinks. If you change your permalink structure to "Default" your site won't work!”). I check my .htaccess fil e on FTP and permalink rewrite code there is correct (same as provided here https://codex.wordpress.org/Using_Permalinks).
Here is one my published project I plan to use as a home page… being empty after I published it: http://vvhy.tv/info-12/
If you look in the source, content is still there, but for some reason didn’t appears.
What’s wrong with it and how to fix it?
Thanks.