Support » Plugin: Kadence Blocks – Gutenberg Page Builder Toolkit » Issue with Testimonial Block – Bug?

  • Resolved JeremyTolbert

    (@jeremytolbert)


    I wanted to report this block of code from a testimonial that’s giving me errors. I can generate it just fine when I create it, and it views fine on the front end, but if I save the post and come back to it, the block loads in empty in Gutenberg with some kind of error. I can consistently encounter this error each time I create the block with roughly the below settings. Hopefully this can help in running down the error.

    The console logs an error of the following:

    react-dom.min.js?ver=16.8.4:117 TypeError: Cannot read property '0' of undefined
        at t.value (blocks.build.js?ver=1.5.4:1)
        at qi (react-dom.min.js?ver=16.8.4:130)
        at ui (react-dom.min.js?ver=16.8.4:133)
        at react-dom.min.js?ver=16.8.4:158
        at unstable_runWithPriority (react.min.js?ver=16.8.4:27)
        at Vc (react-dom.min.js?ver=16.8.4:158)
        at Sc (react-dom.min.js?ver=16.8.4:158)
        at Z (react-dom.min.js?ver=16.8.4:156)
        at Kc (react-dom.min.js?ver=16.8.4:155)
        at ya (react-dom.min.js?ver=16.8.4:153)
    <!-- wp:kadence/testimonials {"uniqueID":"_0ad6ed-28","columns":[3,3,3,2,1,1],"testimonials":[{"url":"","id":"","alt":"","width":"","height":"","maxWidth":"","subtype":"","media":"image","icon":"fas_quote-left","isize":50,"istroke":2,"ititle":"","color":"#555555","title":"Test","content":"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc non adipiscing mi. Maecenas varius sem arcu. Quisque nec ipsum dolor. ","name":"REVIEWER NAME","occupation":"","rating":5},{"url":"","id":"","alt":"","width":"","height":"","maxWidth":"","subtype":"","media":"image","icon":"fas_quote-left","isize":50,"istroke":2,"ititle":"","color":"#555555","title":"Test","content":" Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc non adipiscing mi. Maecenas varius sem arcu. Quisque nec ipsum dolor.  ","name":"REVIEWER NAME","occupation":"","rating":5},{"url":"","id":"","alt":"","width":"","height":"","maxWidth":"","subtype":"","media":"image","icon":"fas_quote-left","isize":50,"istroke":2,"ititle":"","color":"#555555","title":"Test","content":" Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc non adipiscing mi. Maecenas varius sem arcu. Quisque nec ipsum dolor.  ","name":"REVIEWER NAME","occupation":"","rating":5}],"itemsCount":3,"displayMedia":false,"displayTitle":false,"contentFont":[{"color":"#FFF","size":["","",""],"sizeType":"px","lineHeight":["","",""],"lineType":"px","letterSpacing":"","textTransform":"","family":"","google":"","style":"","weight":"","variant":"","subset":"","loadGoogle":true}],"nameFont":[{"color":"#ded141","size":[1.2,"",""],"sizeType":"em","lineHeight":["","",""],"lineType":"px","letterSpacing":"","textTransform":"uppercase","family":"","google":"","style":"","weight":"","variant":"","subset":"","loadGoogle":true}],"displayOccupation":false,"displayIcon":true,"iconStyles":[{"size":36,"margin":[26,26,26,26],"padding":[14,14,14,14],"borderWidth":["","","",""],"borderRadius":"","borderOpacity":1,"color":"#923b3b","background":"#FFF","backgroundOpacity":1,"title":"","icon":"ic_star","stroke":2}]} -->
    <div class="wp-block-kadence-testimonials kt-testimonial-halign-center kt-testimonial-style-basic kt-testimonials-media-off kt-testimonials-icon-on kt-testimonial-columns-3 kt-t-xxl-col-3 kt-t-xl-col-3 kt-t-lg-col-3 kt-t-md-col-2 kt-t-sm-col-1 kt-t-xs-col-1 kt-blocks-testimonials-wrap_0ad6ed-28"><div class="kt-testimonial-grid-wrap" style="grid-row-gap:30px;grid-column-gap:30px"><div class="kt-testimonial-item-wrap kt-testimonial-item-0" style="border-color:rgba(238, 238, 238, 1);border-radius:px;border-top-width:px;border-right-width:px;border-bottom-width:px;border-left-width:px;padding:20px 20px 20px 20px;max-width:500px"><div class="kt-testimonial-text-wrap"><div class="kt-svg-testimonial-global-icon-wrap" style="margin:26px 26px 26px 26px"><div style="display:inline-flex;justify-content:center;align-items:center;color:#923b3b;border-radius:px;border-top-width:px;border-right-width:px;border-bottom-width:px;border-left-width:px;background:rgba(255, 255, 255, 1);padding:14px 14px 14px 14px" class="kt-svg-testimonial-global-icon kt-svg-testimonial-global-icon-ic_star"><svg style="display:inline-block;vertical-align:middle" viewbox="0 0 8 8" height="36" width="36" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M4 0l-1 3h-3l2.5 2-1 3 2.5-2 2.5 2-1-3 2.5-2h-3l-1-3z"></path></svg></div></div><div class="kt-testimonial-content-wrap"><div class="kt-testimonial-content">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc non adipiscing mi. Maecenas varius sem arcu. Quisque nec ipsum dolor. </div></div></div><div class="kt-testimonial-meta-wrap"><div class="kt-testimonial-meta-name-wrap"><div class="kt-testimonial-name-wrap"><div class="kt-testimonial-name">REVIEWER NAME</div></div></div></div></div><div class="kt-testimonial-item-wrap kt-testimonial-item-1" style="border-color:rgba(238, 238, 238, 1);border-radius:px;border-top-width:px;border-right-width:px;border-bottom-width:px;border-left-width:px;padding:20px 20px 20px 20px;max-width:500px"><div class="kt-testimonial-text-wrap"><div class="kt-svg-testimonial-global-icon-wrap" style="margin:26px 26px 26px 26px"><div style="display:inline-flex;justify-content:center;align-items:center;color:#923b3b;border-radius:px;border-top-width:px;border-right-width:px;border-bottom-width:px;border-left-width:px;background:rgba(255, 255, 255, 1);padding:14px 14px 14px 14px" class="kt-svg-testimonial-global-icon kt-svg-testimonial-global-icon-ic_star"><svg style="display:inline-block;vertical-align:middle" viewbox="0 0 8 8" height="36" width="36" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M4 0l-1 3h-3l2.5 2-1 3 2.5-2 2.5 2-1-3 2.5-2h-3l-1-3z"></path></svg></div></div><div class="kt-testimonial-content-wrap"><div class="kt-testimonial-content"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc non adipiscing mi. Maecenas varius sem arcu. Quisque nec ipsum dolor.  </div></div></div><div class="kt-testimonial-meta-wrap"><div class="kt-testimonial-meta-name-wrap"><div class="kt-testimonial-name-wrap"><div class="kt-testimonial-name">REVIEWER NAME</div></div></div></div></div><div class="kt-testimonial-item-wrap kt-testimonial-item-2" style="border-color:rgba(238, 238, 238, 1);border-radius:px;border-top-width:px;border-right-width:px;border-bottom-width:px;border-left-width:px;padding:20px 20px 20px 20px;max-width:500px"><div class="kt-testimonial-text-wrap"><div class="kt-svg-testimonial-global-icon-wrap" style="margin:26px 26px 26px 26px"><div style="display:inline-flex;justify-content:center;align-items:center;color:#923b3b;border-radius:px;border-top-width:px;border-right-width:px;border-bottom-width:px;border-left-width:px;background:rgba(255, 255, 255, 1);padding:14px 14px 14px 14px" class="kt-svg-testimonial-global-icon kt-svg-testimonial-global-icon-ic_star"><svg style="display:inline-block;vertical-align:middle" viewbox="0 0 8 8" height="36" width="36" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M4 0l-1 3h-3l2.5 2-1 3 2.5-2 2.5 2-1-3 2.5-2h-3l-1-3z"></path></svg></div></div><div class="kt-testimonial-content-wrap"><div class="kt-testimonial-content"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc non adipiscing mi. Maecenas varius sem arcu. Quisque nec ipsum dolor.  </div></div></div><div class="kt-testimonial-meta-wrap"><div class="kt-testimonial-meta-name-wrap"><div class="kt-testimonial-name-wrap"><div class="kt-testimonial-name">REVIEWER NAME</div></div></div></div></div></div></div>
    <!-- /wp:kadence/testimonials --></div></div>
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ben Ritner – Kadence WP

    (@britner)

    Thanks for posting, I think I see what’s possibly going on I’ll push out an update today and you can let me know if that resolves for you.

    Ben

    Plugin Author Ben Ritner – Kadence WP

    (@britner)

    That update went out can you tell me if you are still getting this error?

    JeremyTolbert

    (@jeremytolbert)

    Hi Ben! It looks like my blocks are now live again in the Gutenberg editor and can be updated. Thanks so much for your hard work and support.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issue with Testimonial Block – Bug?’ is closed to new replies.