"Your Layout's JSON was invalidated" after updating my project with a new video
-
Hi! 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
}
]
} -
hey!
Can you please enter this json into the "gridder json" field that looks like this:
First remove the text that is in this field and then paste this text and hit save:
{
"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": "",
"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
}]
} -
also please update your lay theme to 1.7.7. I changed something for that version and I think maybe it fixes this issue.
If you get this error again please let me know.
-
Unfortunately 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.
-
Hey!
It seems that this part of the code is causing problems:
<a href="mailto:vvhy.tv@gmail.com"><span class="s2"><span class="
cf_email " data-cfemail="
3 a4c4c5243144e4c7a5d575b535614595557 ">[email protected]</span><script data-cfhash='f9e31' type="
text / javascript ">/* <![CDATA[ /!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagName('script'),e=t.length;e--;)if(t[e].getAttribute('data-cfhash'))return t[e]}();if(t&&(c=t.previousSibling)){p=t.parentNode;if(a=c.getAttribute('data-cfemail')){for(e='',r='0x'+a.substr(0,2)|0,n=2;a.length-n;n+=2)e+='%'+('0'+('0x'+a.substr(n,2)^r).toString(16)).slice(-2);p.replaceChild(document.createTextNode(decodeURIComponent(e)),c)}p.removeChild(t)}}catch(u){}}()/ ]]> */</script></span></a>the special signs in this part of the code do not get escaped properly so the json gets invalidated.
yeah, switching between http / https is an issue that i'm gonna fix one day.
I just wrote the email into your layout in a normal way and now it should work.
-
this email obfuscation code may have been automatically generated by a plugin of yours
-
hey!
i deactivated all your plugins because maybe one of them replaces emails with their email obfuscation code and this code kind of invalidates the json. let me know if you still experience this issue now.cu
-
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.
-
Its really weird but I guess one of the plugins did it :O
Or maybe your webhost has a configuration to do that, really not sure.
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it