Problem panel control

Hi everyone !
I have a problem with my panel’s control in kirby. the pages doesn’t show there. The information say “pages not yet”, but there are 3 pages.
And, when I add a page, I can’t preview that.
The error message is : Whoops\Exception\ErrorException thrown with message “Undefined variable: gallery”

#9 Whoops\Exception\ErrorException in /Applications/MAMP/htdocs/starterkit-main2/site/templates/bsr-template.php:41
#8 Whoops\Run:handleError in /Applications/MAMP/htdocs/starterkit-main2/site/templates/bsr-template.php:41

Thank you all, have a nice day.

Hi and welcome to the Kirby forum

To be able to help you, I would need some more information. Obviously, you have made some changes to the Starterkit and added and/or removed the existing pages.

The Panel will only ever show what you define in your blueprints, i.e. the /site/blueprints/site.yml file for the Panel “Dashboard” and the page specific blueprints for pages and their subpages.

Could you post what is currently in your site.yml and what pages you have created with which content file names?

the site.yml :

  - width: 1/2
      bsr: sections/bsr
  - width: 1/2
      Casalina: sections/casalina

ONE PAGE : bsr.yml :

icon: 🖼

    extends: sections/bsr
    headline: Drafts
    status: draft

    extends: sections/bsr
    headline: Published BSR
    status: listed

And those sections definitions exist as well?

For the other error, you have to check the bsr-template.php file. You are obviously using a variable called $gallery that is nowhere defined.

yes bsr.yml :

type: pages
size: small
info: “{{ page.images.count }} image(s)”
layout: cards
template: BSR-template
empty: Pas de page du BSR
query: page.cover
cover: true
ratio: 5/4

ok, the saw the error in home.yml, I have the preview of my page in mu website.

But, my panel "dashboard is empty. I don’t see my pages to modify that.

But that looks like what it should look like. With the two pages that don’t seem to have any subpages yet. If you click on the headlines, you will land on the respective pages.

Ok, I don’t have the answer, but i’m unlocking.

Thank you very much !!! :slightly_smiling_face:

Note that this should be all lowercase

template: bsr-template

I don’t understand, I change this line because you are right, I don’t have a blueprint to costumize the page and i have again zero page in my panel .
But in my folder, the are 3 pages

Could you please post your content structure, so that I can see all folders and files inside the content folder?