Closed jbachman04 closed 3 months ago
Update: I have tried reloading from a backup and still get the same results. I also tried installing and activating and then deactivating the Gutenberg plugin (latest version) and even tried downgrading the CoBlocks plugin to an earlier version along with an earlier version of WordPress and the same thing still happens.
Any help on this matter would be great as I really don't want to have to recreate over 40 profiles on this site.
I am also seeing this issue occurring, it is a significant loss of block data in a page with almost 70 Services blocks columns in place. I am however struggling to consistently reproduce the issue, I first made a test page, added some services blocks, saved the page and then reloaded and I saw the same loss of block data for some of them. But I then made a second test page and I have yet to see this page fail to work. As such I cannot consistently reproduce it, all I can see is that there is definitely an issue but I can't say if there are mitigating circumstances such as clashes with other plugins etc.
Hi, I've been digging further into this to see what might be happening and I did notice one thing about the page that I was experiencing the error on. Each Services block on the page was set to 3 x Services columns, but looking at the underlying block markup there were 4 there, with the last one containing no block data, title description, image etc. Whereas when I made a new test page with Services blocks the only block markup there was the actual 3 x Services columns.
Here's a sample block markup from the page I was getting the data loss on:
<!-- wp:coblocks/services {"columns":3} -->
<div class="wp-block-coblocks-services">
<div class="has-columns has-3-columns has-responsive-columns has-medium-gutter">
<!-- wp:coblocks/service {"imageId":43754,"focalPoint":{"x":"0.40","y":"0.57"}} -->
<div class="wp-block-coblocks-service">
<figure class="wp-block-coblocks-service__figure"><img src="https://placehold.co/600x400" alt="" style="object-position:40% 56.99999999999999%" /></figure>
<div class="wp-block-coblocks-service__content">
<!-- wp:heading {"textAlign":"none","level":3,"placeholder":"Write title…"} -->
<h3 class="wp-block-heading has-text-align-none" id="joe-smith">Joe Smith</h3>
<!-- /wp:heading -->
<!-- wp:paragraph {"align":"none","placeholder":"Write description…"} -->
<p class="has-text-align-none">Donec id elit non mi porta gravida at eget metus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean lacinia bibendum nulla sed consectetur. Vestibulum id ligula porta felis euismod semper. Sed posuere consectetur est at lobortis.</p>
<!-- /wp:paragraph -->
</div>
</div>
<!-- /wp:coblocks/service -->
<!-- wp:coblocks/service {"imageId":43753,"focalPoint":{"x":"0.51","y":"0.39"}} -->
<div class="wp-block-coblocks-service">
<figure class="wp-block-coblocks-service__figure"><img src="https://placehold.co/600x400" alt="" style="object-position:51% 39%" /></figure>
<div class="wp-block-coblocks-service__content">
<!-- wp:heading {"textAlign":"none","level":3,"placeholder":"Write title…"} -->
<h3 class="wp-block-heading has-text-align-none" id="jane-doe">Jane Doe</h3>
<!-- /wp:heading -->
<!-- wp:paragraph {"align":"none","placeholder":"Write description…"} -->
<p class="has-text-align-none">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec id elit non mi porta gravida at eget metus. Sed posuere consectetur est at lobortis. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec ullamcorper nulla non metus auctor fringilla. Nullam quis risus eget urna mollis ornare vel eu leo. Sed posuere consectetur est at lobortis.</p>
<!-- /wp:paragraph -->
</div>
</div>
<!-- /wp:coblocks/service -->
<!-- wp:coblocks/service {"imageId":35787,"focalPoint":{"x":"0.63","y":"0.37"}} -->
<div class="wp-block-coblocks-service">
<figure class="wp-block-coblocks-service__figure"><img src="https://placehold.co/600x400" alt="" style="object-position:63% 37%" /></figure>
<div class="wp-block-coblocks-service__content">
<!-- wp:heading {"textAlign":"none","level":3,"placeholder":"Write title…"} -->
<h3 class="wp-block-heading has-text-align-none" id="bill-smith">Bill Smith</h3>
<!-- /wp:heading -->
<!-- wp:paragraph {"align":"none","placeholder":"Write description…"} -->
<p class="has-text-align-none">Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p>
<!-- /wp:paragraph -->
</div>
</div>
<!-- /wp:coblocks/service -->
<!-- wp:coblocks/service -->
<div class="wp-block-coblocks-service">
<div class="wp-block-coblocks-service__content">
<!-- wp:heading {"textAlign":"none","level":3,"placeholder":"Write title…"} -->
<h3 class="wp-block-heading has-text-align-none"></h3>
<!-- /wp:heading -->
<!-- wp:paragraph {"align":"none","placeholder":"Write description…"} -->
<p class="has-text-align-none"></p>
<!-- /wp:paragraph -->
</div>
</div>
<!-- /wp:coblocks/service -->
</div>
</div>
<!-- /wp:coblocks/services -->
You'll see that it's set to 3 columns but there are four wp-block-coblocks-service
blocks contained within the parent wp-block-coblocks-services
block. So I think that somehow this extra one may be part of the issue as to why this is occurring?
Hey folks, I think this issue may be resolved with #2613 released in version 3.1.11 of CoBlocks. Please re-open the issue if this is still happening for you.
Describe the bug:
When viewing a page in the editor that has the "Services" block and the "Services" block has several entries in it, only the first entry is showing up after the latest update to the CoBlocks plugin.
To reproduce:
As long as the AutoSave doesn't save the page you are viewing or you manually press Update, the actual published page will display fine to the general public. It only appears to be having issues on the backend.
Expected behavior:
When opening a page in the editor on WordPress, all previous entries in the "Services" block should appear.
Screenshots:
Isolating the problem:
WordPress version:
6.5.2
Gutenberg version:
Unknown... No Gutenberg Plugin is listed...