Title: Unexpected Content Error
Last modified: October 12, 2020

---

# Unexpected Content Error

 *  [swhitaker](https://wordpress.org/support/users/swhitaker/)
 * (@swhitaker)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/unexpected-content-error/)
 * after this recent upgrade, all of our caxton blocks give us this message “This
   block contains unexpected or invalid content.”

Viewing 13 replies - 1 through 13 (of 13 total)

 *  [bvhool](https://wordpress.org/support/users/bvhool/)
 * (@bvhool)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/unexpected-content-error/#post-13538477)
 * We are seeing the same problem recently on all caxton layout blocks.
 *  [LoreGI13](https://wordpress.org/support/users/loregi13/)
 * (@loregi13)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/unexpected-content-error/#post-13566823)
 * The same issue to me, I described in the previous post …
    wait for any fixing…
 *  Thread Starter [swhitaker](https://wordpress.org/support/users/swhitaker/)
 * (@swhitaker)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/unexpected-content-error/#post-13737264)
 * can yall please respond to this? has this issue been fixed?
 *  Thread Starter [swhitaker](https://wordpress.org/support/users/swhitaker/)
 * (@swhitaker)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/unexpected-content-error/#post-13827119)
 * has this been fixed??? can you please answer this? My developer says you failed
   to update the admin view of the plugin with the latest update
 *  [kferrisi](https://wordpress.org/support/users/kferrisi/)
 * (@kferrisi)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/unexpected-content-error/#post-13909137)
 * The same issue has happened to me. Has there been a fix yet or should I discontinue
   use of Caxton with my clients?
 *  [sabinevi](https://wordpress.org/support/users/sabinevi/)
 * (@sabinevi)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/unexpected-content-error/#post-14292664)
 * Same problem here. Updated to most recent WP (5.7), PHP Version 7.3.27, MySQL
   5.0.12. Tried deactivating all other plugins and switching to Twenty-twenty theme
   but error is still there. What’s the plan people?
    -  This reply was modified 5 years, 2 months ago by [sabinevi](https://wordpress.org/support/users/sabinevi/).
      Reason: Software versions added
 *  [Jamie Marsland](https://wordpress.org/support/users/jamesmarsland/)
 * (@jamesmarsland)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/unexpected-content-error/#post-14292721)
 * Hi, we think this is related to the super header block – could you try removing
   that block and see if it resolves your issue.
 *  [sabinevi](https://wordpress.org/support/users/sabinevi/)
 * (@sabinevi)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/unexpected-content-error/#post-14293238)
 * I don’t think I use the super header block. Here is code on one of the pages,
   that might help?
 *     ```
       <!-- wp:caxton/grid {"tpl":"[[\u0022caxton/section\u0022,{\u0022Grid area\u0022:\u0022span 1/span 6\u0022}],[\u0022caxton/section\u0022,{\u0022Grid area\u0022:\u0022span 1/span 6\u0022}]]","Background":"","Layout":"","Column gap":"grid-gap-none","Inner Padding top":"","Inner Padding left":"","Inner Padding bottom":"","Inner Padding right":"","Inner Padding left/right tablet":"","Inner Padding left/right mobile":"","Inner Padding unit":"px","Mobile layout":"","Tablet layout":"","Background image":"","Background image position":"","Background parallax":"","Background color":"","Gradient color":"","Gradient type":"linear-gradient( ","Background colors opacity":"1"} -->
       <div class="wp-block-caxton-grid relative"><div class="absolute absolute--fill"><div class="absolute absolute--fill cover bg-center" style="background-color:;background-image:linear-gradient( );"></div><div class="absolute absolute--fill" style="background-color:;background-image:linear-gradient( );opacity:1;"></div></div><div class="relative caxton-columns caxton-grid-block grid-gap-none" style="padding-top:0;padding-left:0;padding-bottom:0;padding-right:0;grid-template-columns:repeat(12, 1fr)" data-tablet-css="padding-left:em;padding-right:em;" data-mobile-css="padding-left:em;padding-right:em;"><!-- wp:caxton/section {"Background":"","Inner Padding top":"1","Inner Padding bottom":"1","Inner Padding left":"1","Inner Padding right":"1","Inner Padding left/right tablet":"1","Inner Padding left/right mobile":"1","Inner Padding unit":"px","Vertical Alignment":"","Grid area":"span 1/span 6","Tablet grid area":"","Mobile grid area":"","Background image":"","Background image position":"","Background parallax":"","Background color":"#eeeeee","Gradient color":"","Gradient type":"linear-gradient( ","Background colors opacity":"1"} -->
       <div class="wp-block-caxton-section relative" style="grid-area:span 1/span 6"><div class="absolute absolute--fill"><div class="absolute absolute--fill cover bg-center" style="background-color:#eeeeee;background-image:linear-gradient( #eeeeee);"></div><div class="absolute absolute--fill" style="background-color:#eeeeee;background-image:linear-gradient( #eeeeee);opacity:1;"></div></div><div class="relative caxton-section-block" style="padding-top:5px;padding-left:5px;padding-bottom:5px;padding-right:5px" data-mobile-css="padding-left:1em;padding-right:1em;" data-tablet-css="padding-left:1em;padding-right:1em;"><!-- wp:image {"id":209} -->
       <figure class="wp-block-image"><img src="https://xxx.nl/wp-content/uploads/2019/10/persona_01.jpg" alt="" class="wp-image-209"/></figure>
       <!-- /wp:image --></div></div>
       <!-- /wp:caxton/section -->
   
       <!-- wp:caxton/section {"Background":"","Inner Padding top":"1","Inner Padding bottom":"1","Inner Padding left":"1","Inner Padding right":"1","Inner Padding left/right tablet":"1","Inner Padding left/right mobile":"1","Inner Padding unit":"px","Vertical Alignment":"","Grid area":"span 1/span 6","Tablet grid area":"","Mobile grid area":"","Background image":"","Background image position":"","Background parallax":"","Background color":"#ffffff","Gradient color":"","Gradient type":"linear-gradient( ","Background colors opacity":"1"} -->
       <div class="wp-block-caxton-section relative" style="grid-area:span 1/span 6"><div class="absolute absolute--fill"><div class="absolute absolute--fill cover bg-center" style="background-color:#ffffff;background-image:linear-gradient( #ffffff);"></div><div class="absolute absolute--fill" style="background-color:#ffffff;background-image:linear-gradient( #ffffff);opacity:1;"></div></div><div class="relative caxton-section-block" style="padding-top:5px;padding-left:5px;padding-bottom:5px;padding-right:5px" data-mobile-css="padding-left:1em;padding-right:1em;" data-tablet-css="padding-left:1em;padding-right:1em;"><!-- wp:heading -->
       <h2>Are you happy?</h2>
       <!-- /wp:heading -->
   
       <!-- wp:paragraph -->
       <p>Lorem ipsum text text</p>
       <!-- /wp:paragraph -->
   
       <!-- wp:gravityforms/form {"formId":"1","title":false} /--></div></div>
       <!-- /wp:caxton/section --></div></div>
       <!-- /wp:caxton/grid -->
   
       <!-- wp:paragraph -->
       <p></p>
       <!-- /wp:paragraph -->
       ```
   
 *  [m-Aurelius](https://wordpress.org/support/users/m-aurelius/)
 * (@m-aurelius)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/unexpected-content-error/#post-14381950)
 * I’m getting the same error, here is my code if it helps?
 * `<div class="wp-block-caxton-grid relative"><div class="absolute absolute--fill"
   ><div class="cover bg-center absolute absolute--fill" style="background-color:;
   background-image:linear-gradient( );"></div></div><div class="relative caxton-
   columns caxton-grid-block" style="padding-top:0;padding-left:0;padding-bottom:
   0;padding-right:0;grid-template-columns:repeat(12, 1fr)" data-tablet-css="padding-
   left:em;padding-right:em;" data-mobile-css="padding-left:em;padding-right:em;"
   ></div></div>`
 *  [m-Aurelius](https://wordpress.org/support/users/m-aurelius/)
 * (@m-aurelius)
 * [5 years ago](https://wordpress.org/support/topic/unexpected-content-error/#post-14464542)
 * Bump – any word from the developers on this issue?
 *  Thread Starter [swhitaker](https://wordpress.org/support/users/swhitaker/)
 * (@swhitaker)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/unexpected-content-error/#post-14660316)
 * Amazingly a year later and this problem still persists. In addition, after the
   most recent plugin update, there are now 2 problems on every site we are using
   your plugin:
 * 1. After updating the plugin, when we open a page in admin to update, the page
   admin tool shows an HTML error and won’t allow content to be edited. To overcome
   this, we have had to add a new block to the page with content. Once we save, 
   the HTML error is resolved and we can remove the new block.
 * 2. After plugin update, any custom margin settings, etc. are modified back to
   default settings. This causes images to not be the correct sizing within sections,
   it’s causing content to be hidden under headers, etc.
 * Can yall please comment here? Based on the other replies, there is clearly an
   issue
 *  [vincentjolanda](https://wordpress.org/support/users/vincentjolanda/)
 * (@vincentjolanda)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/unexpected-content-error/#post-14956947)
 * Hi,
    same problem here!
 * I‘m unable to edit any blocks created with caxton (and woobuilder blocks).
    Suggestion
   from above (1.) helps but doesn´t solve the issue
 * regards
    jo)
 *  [Jamie Marsland](https://wordpress.org/support/users/jamesmarsland/)
 * (@jamesmarsland)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/unexpected-content-error/#post-14957021)
 * Hi,
 * Could you contact support here please pootlepress.com/support-form
 * thanks
    jamie

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Unexpected Content Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/caxton_fefefe.svg)
 * [Caxton - Create Pro page layouts in Gutenberg](https://wordpress.org/plugins/caxton/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/caxton/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/caxton/)
 * [Active Topics](https://wordpress.org/support/plugin/caxton/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/caxton/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/caxton/reviews/)

 * 13 replies
 * 8 participants
 * Last reply from: [Jamie Marsland](https://wordpress.org/support/users/jamesmarsland/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/unexpected-content-error/#post-14957021)
 * Status: not resolved