Skip Navigation

[Resolved] Toolset Blocks plugin is causing “the editor has encountered an unexpedted error

This thread is resolved. Here is a description of the problem and solution.

Problem:
The user was not able to edit a page on the block editor. Each time he tries to add a block, the editor crashes.

Solution:
It turns out that the user was having an erroneous Reusable block.
Go to https://sina.modsnapstaging.com/wp-admin/edit.php?post_type=wp_block and remove(send to trash) the "Untitled Reusable Block" entry. Check this screenshot http://prntscr.com/uuou8w
Then you will be able to edit the homepage with the block editor.

This support ticket is created 4 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 7 replies, has 3 voices.

Last updated by MorganM3180 4 years, 3 months ago.

Assisted by: Jamal.

Author
Posts
#1794837
Screen Shot 2020-09-29 at 5.42.48 PM.png

I am trying to:
Edit a wordpress page
Link to a page where the issue can be seen:
hidden link
I expected to see:
be able to add blocks
Instead, I got:

#1796417

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I checked the home page in the backend for which you shared the screenshot and I do not see any issue:
=> hidden link

I can see edit page for the homepage is loaded successfully without any issue and I can also access the block navigation bar.
Please check the following screenshot:
=> hidden link

What if you try to remove the browser cache and try to login again and check if you see it working.

#1796895

Thank you for your response. Yes, I can edit the view that is there. That is not what I need to do at this point.

I am trying to add a new block (row) under the view that is there. I have deleted the cache in my browser and I have tried this on other browsers as well. If I attempt to add blocks to the page, under the toolset view that is on the page, I am unable to do so. I get the unexpected error alert and am unable to access the block chooser.
After testing for plugin and theme conflicts, the only thing that resolved the problem was when I deactivated Toolset Blocks. Please continue to assist me with this problem.

#1797951

Minesh is not available, if you don't mind, I'll continue with you on this ticket.

I was able to reproduce the issue on your site, as soon as I try to add a block, the pages present the error and we can't continue working. On the browser console, we can notice the following errors hidden link

I am taking the Duplicator copy to check this further locally. And will get back to you as soon as possible.

#1798535

I was not able to narrow down the origin of this issue, so, I am approaching our 2nd Tier for assistance.
I'll get back to you as soon as possible.

#1801505

The issue is escalated to our developers for further analysis. I'll get back to you as soon as we found something.

#1802851

Our developers have found a workaround to unlock this issue and let you continue working on your homepage.

Go to hidden link and remove(send to trash) the "Untitled Reusable Block" entry. Check this screenshot hidden link
Then you will be able to edit the homepage with the block editor.

I tested this on my local copy and it worked for me. I'll let you do the same for your staging site. Let me know what you will get.

#1803441

My issue is resolved now. Thank you!