- This topic has 13 replies, 4 voices, and was last updated 4 years, 9 months ago by
Tom.
-
AuthorPosts
-
April 21, 2021 at 1:03 pm #1743710
Ian
I have installed GP 2.0 RC2. Created a new reusable block as to not used older ones. After inserting it into a new page, it disappears after saving the page. Doing to edit the reusable block shows a blank block even in code editor mode.
Any ideas?
April 21, 2021 at 1:26 pm #1743725Ian
So odd. I just created a brand new reusable block. Inserted into new pages. After a few minutes of working on the page, the reusable block is showing an empty HTML section in code editor. Anyone run into this issue before? Contact forms on every page is blank, kind of panicking here.
April 21, 2021 at 6:05 pm #1743891Elvin
StaffCustomer SupportHi there,
Have you tried disabling all plugins and creating a reusable block again and see if it works? To check if it’s a plugin conflict.
What were the contents of the reusable block? Can you tell what steps were done? So we can attempt to replicate the issue and see if it’s an actual bug. (Reusable block has been buggy since the recent WP updates)
Let us know.
April 21, 2021 at 7:30 pm #1743917Ian
I actually did not have time to test. Site is running pay per click 24/7 and all pages lost the Contact Form after I added the reusable block to a new page. So crazy.
I can say that I was not able to create a new reusable block without it going blank. The solution was to create said block on all pages manually. Was not fun.
This site is running WP 5.7.1. Maybe something is conflicting but I cannot say for sure. Contents of this reusable block are BG Container with GB Headline + WP Fluent Form block + GB Headline. Not sure that’s much help.
April 21, 2021 at 8:13 pm #1743926Elvin
StaffCustomer SupportI actually did not have time to test. Site is running pay per click 24/7 and all pages lost the Contact Form after I added the reusable block to a new page. So crazy.
If that’s the case, I suggest setting up a staging site so the operations on the live site doesn’t get interrupted. It’s good webdev practice to have one.
This site is running WP 5.7.1. Maybe something is conflicting but I cannot say for sure. Contents of this reusable block are BG Container with GB Headline + WP Fluent Form block + GB Headline. Not sure that’s much help.
We’ll have to make sure it’s not a conflict between the mentioned plugins or something else. But since this is a live site. We may really have to go with a staging site to do some tests.
Can you try making a reusable block with only GB Headline blocks?
July 28, 2021 at 3:40 pm #1875102Ian
So I just ran into this reusable block breaking once again. I am pretty sure I nested it into a Container, saved the Element and voila, the reusable block lost all content inside. I wonder if there is an issue with Reusable blocks + Block Elements?
July 28, 2021 at 9:21 pm #1875218Elvin
StaffCustomer SupportHi Ian,
If you create a 2 new reusable blocks (one exactly the same, another, completely different) does the same issue still occur?
There’s a new WordPress update (5.8) since then and the error may be new and is related to the update. It’s worth checking.
Let us know how it goes.
July 29, 2021 at 10:48 pm #1876575Ian
Hi Elvin,
This has been an on-going issue for a few months. It happens after setting things up, placing them in locations. Then when I go an edit an existing reusable block, click save, all content disappears. This may not be a GB problem as other publishers have also reported the disappearing of reusable blocks after doing an update on the original content.
Has anyone on your team encountered this? Hoping someone has a fix somewhere. I thought read somewhere about nesting a reusable block within another reusable block causes an issue so I am not doing that. Maybe this is also related? Any hint on this matter would be greatly appreciated!
July 29, 2021 at 11:05 pm #1876592Ian
Hey Elvin,
I just did some testing and noticed this:
1. If I create a reusable block and not nest it in a GB container, everything seems to work fine.
2. Once I add a reusable block within the GB Container, then things begin to break or behave oddly. These include:a. not being able to see the proper icon when I bring up a reusable block using + sign > Reusable tab
b. inserting a reusable block into a GB Container show no content, just the reusable block itself.
c. disappearing content when you return to Manage Reusable block to edit original contentCan you see if this happens on your end?
July 29, 2021 at 11:45 pm #1876636Elvin
StaffCustomer SupportI did a simple nested block with this structure:
Container Block > Reusable Block >> Container Block >>> Headline Block >>> Social Icon BlockAnd it seems to be working on my end as seen on this link – https://dev-generate-press.pantheonsite.io/?page_id=4043.
You can see here that the headline and the social icons are showing.
Can you share an example of a block that’s breaking? It may have something to do with the content of the reusable block.
July 30, 2021 at 1:23 am #1876728Ian
Thx for testing this with me. Now mind going to your reusable block and make an edit > Save.
Then open up your page where the reusable block was inserted. Does the updated reusable block content display properly? And what if you edit this page (of where the reusable block was inserted). Does the reusable block display properly?
July 30, 2021 at 6:47 am #1877064David
StaffCustomer SupportHi there,
could you edit one of your ‘problem’ Re-usable blocks, switch to Code View ( in the 3 dot menu in tool bar ) and copy the code you have. Then paste it here in the forum. If you can make sure to highlight the code and hit the code button before submitting, i can then take a look to see if there is an issue with the code.
This will help us eliminate a localised issue, as i can’t replicate the issue locally.
July 30, 2021 at 1:39 pm #1877718Ian
Hey David,
Thanks for the troubleshooting tips. When the glitch occurs, I see this in code editor:
<!– wp:block {“ref”:218} /–>
I spent some time trying to replicate the issue and noticed that all the glitches began when a reusable block is created when I an inside a Block Element. I utilize Elements heavily and it must be when I inside an Element Block, then decide to recreate a ReUsbale block within here that the issues arise. In short:
1. Create Block Element > save a reusable block that has a GB Container
2. Inserting the reusable block into another page works fine
3. It’s after I try re-saving the block, then the glitches begin to showHope that helps.
July 31, 2021 at 7:19 pm #1878900Tom
Lead DeveloperLead DeveloperHi Ian,
Can you share the full code of the re-usable block so we can test it on our end?
When the content disappears, does it still exist when you edit the re-usable block inside the Reusable block manager?
-
AuthorPosts
- You must be logged in to reply to this topic.