jamienk
Forum Replies Created
-
I think I turned it from multiple check-boxes to a repeater whose children are selects. This is not very good though
nK fixed this for me.
In case anyone else ever has this problem, it was because I was using an outdated hook (in my functions.php) called ‘allowed_block_types’. This hook has been deprecated since WordPress 5.8.0 and currently causes an error that prevents the block editor from loading.
To resolve this issue, I replaces it with the new hook ‘allowed_block_types_all’.
Now LazyBlocks works as intended again.
Lt this stand as testament to the great work of the plugin author(s)!!
Yeah it’s not the block code — on my staging site the same code works correctly. It happened simultaneously on several blocks. It seems that somehow my old blocks got corrupted. Again, they work on the front-end, and they work in Guttenberg. And new blocks are fine. But old blocks won’t let me view or edit from Lazy Blocks.
I’m not sure what steps to take to repair. I think I need to remake each block, but I have so many posts and pages that use them, I’m not sure of the best way to port the old to the new, without doing it manually. Any tips for this?