Twill Blocks
Hi all. I'm just getting started with creating a custom block to add to a Page. I've followed the docs and added all the Traits etc, but when I try to save my model, i always get an error:
[2025-05-21 16:55:11] local.ERROR: Object of class A17\Twill\Services\Blocks\Block could not be converted to string {"userId":1,"exception":"[object] (Error(code: 0): Object of class A17\Twill\Services\Blocks\Block could not be converted to string at /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:719)
When i remove the HandleBlocks trait from the Repository fixes thr above, but obviously doesn't store anything in the "twill_blocks" table
1 Reply
Hi all. I accidentally created 2 different block with the same name. How I can remove one of them or use certain one?
First one I created like simple-card. Second is simpleCard. Twil v3.4
