Builder to Blocks

Hi there.

I have a Kirby 3.2 Page which i Upgraded to Kirby 3.9. It used the following snippet:

  <?php foreach ($page->module()->toBuilderBlocks() as $block) : ?>
    <?php snippet('modules/' . $block->_key(), array('data' => $block)) ?>
  <?php endforeach ?>

how do i migrate this that it works without the builder just with normal blocks?

Thanks and Greetings
Janosch

You can find a description how to update the builder field to blocks here: Blocks | Kirby CMS.

Are you using the latest Kirby 3 version, i.e. 3.9.3 (we re-added the builder migration tool in 3.9.2, it was removed in versions before that).