# Error using Subpage builder

**URL:** <https://forum.getkirby.com/t/error-using-subpage-builder/23413>\
**Category:** Questions\
**Tags:** v3\
**Created:** [September 14, 2021, 6:54am UTC](https://forum.getkirby.com/t/error-using-subpage-builder/23413 "2021-09-14T06:54:30Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![S0S](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@S0S](https://forum.getkirby.com/u/S0S)\
**Post date:** [September 14, 2021, 12:48pm UTC](https://forum.getkirby.com/t/error-using-subpage-builder/23413/11 "2021-09-14T12:48:53Z")

</div>

I used a fresh installation of Kirby, and retested using minimal blueprint files. I’m still getting those errors.

mainpage.yml

```auto
Title: mainpage
sections:
  introduction:
    headline: Area for adding new Particular pages
    type: info
    text: <b>Writing Particular pages</b> (below) is where pages are <b>added, edited,</b> etc. to the **Mainpage** page.
  pageslist:
    headline: Writing Particular pages
    type: pages
    status: all
    info: <br>Date published {{ page.datePublished }}
    layout: list
    parent: site.find("mainpage/sub-mainpage")
    limit: 50
    flip: true
    templates: sub-mainpage

```

sub-mainpage.yml

```auto
Title: sub-mainpage

options:
  changeTitle: false

  subpage_builder:
    - title: Subpage
      uid: subpage
      template: subpage
      num: 1

columns:
  - width: 3/4
    sections:
      pieces:
        type: fields
        template: find("template/mainpage")
        fields:
          comment:
            label: Comment
            type: textarea
          tags:
            label: Tags
            type: tags
          createdBy:
            type: hidden
            default: "{{ kirby.user }}"
      additionalInfo:
        type: info
        text: Now go to the top left, and click on **Draft** , and publish the new piece.
  - width: 1/4
    sections:
      info:
        text: Use this <b>Subpage</b> section below to Add a Subpage Entry.<hr>When <b>Add</b>ing - the <b>new Title</b> should be the Subpage (site name).<hr>Remember to "Publish" the draft after you've saved the entry.
      subpage:
        headline: Subpage Creator
        help: Use this section to add a Subpage Entry,<br>Remember to "Publish" the draft when you've finished.
        type: pages
        limit: 10
        flip: true
        templates: subpage ## This uses the subpage.yml blueprint for entering data
        parent: page.find("subpage") ## This saves the entry under the subpage/ subfolder ?

```

subpage.yml

```auto
Title: subpage
fields:
  titleName:
    label: Title of Subpage Piece
    type: text
    required: true
    placeholder: "{{ page.parent.parent.titleName }}"
    help: {{ page.parent.parent.titleName }} <- Copy this and paste above if correct. <br>This **Title** is a required field (cannot be blank) - 
  titleLink: 
    label: Link of Republished piece
    type: url
    help: **Link** is a required field (cannot be blank)
  comment:
    label: Comment
    type: textarea
    help: To ensure this entry is Published, Scroll to the top and change <b>Draft</b> to Public

```

---

_[View the full topic](https://forum.getkirby.com/t/error-using-subpage-builder/23413)._
