Panel not working on localhost

Hello,

I have been stuck with this problem for roughly one week now so I decided to reach out to the forum for a bit of help.

I’ve been making some changes to our website but when I went to test them the panel is completely empty. I thought it could be the dependencies however I have reinstalled them all and hasn’t improved the situation. I am using custom blocks. and I’ve checked the blueprint for the panel home page and everything seems to be in order. I have also downloaded the live version from our website without any changes and this also doesn’t work. the live page is working fine just not when i host it locally through XAMPP.

Maybe someone here has had a similar problem but on thorough reading here I haven’t found a similar problem

Many thanks
Michael

When I try to do a direct link to the panel pages some work fine but some throw up the following error

Here is the line of code that is shown here

  protected function createLabel($label = null): ?string
    {
        return I18n::translate($label, $label);
    }

Could you please post the blueprint that causes this error?

title: my site
unlisted: true

tabs:
  main:
    icon: page
    label: Navigation
    columns:
      - width: 1/3
        sections:
          info:
            headline: Willkommen
            text: |
              Herzlich Willkommen im Verwaltungssystem der Firmenwebsite von my company
      - width: 2/3
        sections:
          pages:
            headline: Seiten in Navigation
            type: pages
            info: '{{ page.url }}'
            templates:
              - layout
              - default
              - blog
              - product
              - usecases
            create:
              - layout
              - layout-footer
              - default
              - footer-page
            help: Hier werden Seiten angezeigt, die für den Nutzer der Seite über den Header erreicht werden können.
            image:
              back: black
              query: icon
          footer_pages:
            headline: Seiten im Footer
            help: Hier werden Seiten angezeigt, die im Footer angezeigt werden, üblicherweise das Impressum oder die eigenen AGB.
            type: pages
            info: '{{ page.url }}'
            templates:
              - footer-page
              - layout-footer
            create:
              - footer-page
              - layout-footer
            image:
              back: black
              query: icon
          other_pages:
            headline: Interne Seiten
            type: pages
            templates:
              - error
            create: false
            image:
              back: black
              query: icon
            info: '{{ page.url }}'

  global:
    icon: dashboard
    label: Globale Einstellungen
    columns:
      - width: 1/3
        sections:
          footer:
            type: fields
            fields:
              footer:
                label: Seiten-Footer
                type: headline
              footer_description:
                label: Beschreibung
                type: writer
                inline: true
                marks:
                  - link
                  - bold
                  - italic
              footer_address:
                label: Adressinformationen
                type: writer
                inline: true
                marks:
                  - link
                translate: false
              footer_contact:
                label: Kontaktinformationen
                type: writer
                inline: true
                marks:
                  - link
                translate: false

      - width: 1/3
        sections:
          footercta:
            type: fields
            fields:
              footercta:
                label: Call to Action
                type: headline
              cta_headline:
                label: Ãœberschrift
                type: writer
                inline: true
                marks: false
              cta_text:
                label: Text
                type: writer
                inline: true
                marks:
                  - bold
                  - italic
                  - link
              cta_button:
                label: Text des Buttons
                type: writer
                inline: true
                marks: false

      - width: 1/3
        sections:
          ga:
            type: fields
            fields:
              ga:
                label: Google Analytics
                type: headline
              ga_id:
                label: Seiten-ID
                type: text
                placeholder: G-Q0B86BE426
                translate: false

  files:
    icon: file
    label: Dateien
    columns:
      - width: 2/3
        sections:
          logos:
            headline: Kundenlogos
            type: files
            template: logo
            parent: site.find('files').find('logos')
            help: Hier hochgeladene Logos können in anderen Teilen der Website wiederverwendet werden.
            layout: cards
            image:
              back: white
              ratio: 3/1
            info: '{{ file.filename }}'
            text: '{{ file.alt }}'
      - width: 1/3
        sections:
          icons:
            headline: Icons
            type: files
            template: icon
            parent: site.find('files').find('icons')
            help: Hier hochgeladene Icons können in anderen Teilen der Website wiederverwendet werden.
            image:
              back: white
            info: '{{ file.filename }}'
            text: '{{ file.alt }}'

here is the blueprint for the panel home page

That is your site.yml, right? That looks ok. What I meant was the one that is causing the Error message in the blocks field.

Hey, sorry. Yeah that is my site.yml.

Here is the blocks blueprint that is causing the error.

label: Inhalt
type: blocks
fieldsets:
  default:
    label: Standardblöcke
    type: group
    fieldsets:
      - customheading
      - customtext
      - customgallery
      - galleryswiper
  home:
    label: Hauptseite
    type: group
    fieldsets:
      - hero
      - productreason
      - onaglance
      - testimonials
  careers:
    label: Karriereseite
    type: group
    fieldsets:
      - job-title
      - 3columnlist
      - position
      - careerbenefits
  faq:
    label: FAQ-Seite
    type: group
    fieldsets:
      - faq
  company:
    label: Unternehmensseite
    type: group
    fieldsets:
      - secondaryhero
      - features
      - contactpersons
      - contact

This looks as if it was only part of a blueprint. The bit I can see looks alright to me, but maybe there is a problem with indentation or something along those lines.