# Missing Panel Fields

**URL:** <https://forum.getkirby.com/t/missing-panel-fields/1350>\
**Category:** Questions\
**Tags:** v2\
**Created:** [June 16, 2015, 3:13am UTC](https://forum.getkirby.com/t/missing-panel-fields/1350 "2015-06-16T03:13:37Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![joslemmons](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/joslemmons/32/385_2.png) [@joslemmons](https://forum.getkirby.com/u/joslemmons)\
**Post date:** [June 16, 2015, 3:13am UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/1 "2015-06-16T03:13:37Z")

</div>

Oh no… so I’m missing some Panel fields after updating, making changes, and reuploading my Kirby site. I’ve tried searching everything I can find, but my custom blueprint fields are defaulting back to Title and Text. They appear on my local MAMP setup, but go missing once I deploy to both staging and production servers.

Looking at the files on the server, all of this is the same in the blueprint. The content files also have all of the information, as does the actual output on the webpage. But the Panel is not showing these fields!

```
title: Listography Post

pages: false

files:
  sortable: true

fields:
  title:
    label: Name
    type: text
    icon: user
    required: true
    width: 1/2

  business:
    label: Business
    type: text
    icon: home
    required: true
    width: 1/2

  text:
    label: About
    type: textarea
    required: true

  featured:
    label: Featured Items
    type: structure
    entry: >
      {{name}}<br />
      {{description}}<br />
      {{relatedPage}}
    fields:
      name:
        label: Name
        type: text
        required: true
      description:
        label: Description
        type: textarea
        required: true
      relatedPage:
        label: Related Page
        type: page

```

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [June 16, 2015, 6:20am UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/2 "2015-06-16T06:20:26Z")

</div>

I suppose your blueprints cannot be found and therefore the default blueprint is used. Have you made sure that the spelling of both text files and blueprints is exactly the same? Or are there any other text files in the folder?

---

<div class="post-metadata">

**Author:** ![joslemmons](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/joslemmons/32/385_2.png) [@joslemmons](https://forum.getkirby.com/u/joslemmons)\
**Post date:** [June 16, 2015, 12:27pm UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/3 "2015-06-16T12:27:21Z")

</div>

Yes, @texnixe, those were actually the first things I checked. Just because I’ve made that mistake before lol. What’s confusing me is that it works locally, then when I move it to staging OR production (two different servers), the same thing happens. I’ve even done a clean upload and the same is happening.

This is the only blueprint that this is happening with.

---

<div class="post-metadata">

**Author:** ![FabianSperrle](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/fabiansperrle/32/5426_2.png) [@FabianSperrle](https://forum.getkirby.com/u/FabianSperrle)\
**Post date:** [June 16, 2015, 1:58pm UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/4 "2015-06-16T13:58:42Z")

</div>

This happened to me before: [Help! Empty page for one language :( Rest works fine](http://forum.getkirby.com/t/help-empty-page-for-one-language-rest-works-fine/420/6?u=fabiansperrle)

In my case the issue were old metadata files for languages that I had deactivated. Did you check for metadata for any files or images that shouldn’t be there?

---

<div class="post-metadata">

**Author:** ![joslemmons](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/joslemmons/32/385_2.png) [@joslemmons](https://forum.getkirby.com/u/joslemmons)\
**Post date:** [June 18, 2015, 3:29pm UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/5 "2015-06-18T15:29:33Z")

</div>

I’ve been slowly going back and implementing this site with a clean-slate. I just now recreated the disappearing fields issue – by updating to Kirby 2.1.0.

After pushing up that change to my staging server, the blueprint fields disappeared. Only after updating. Anyone have any thoughts as to why this would happen??

---

<div class="post-metadata">

**Author:** ![bastianallgeier](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/bastianallgeier/32/7569_2.png) [@bastianallgeier](https://forum.getkirby.com/u/bastianallgeier)\
**Post date:** [June 18, 2015, 3:35pm UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/6 "2015-06-18T15:35:03Z")

</div>

Did you try to switch on debugging on your staging server:

```php
c::set('debug', true);

```

Sounds to me like something is broken. Otherwise feel free to send me the entire site or access to the server via email: [support@getkirby.com](mailto:support@getkirby.com) and I can have a closer look at it.

---

<div class="post-metadata">

**Author:** ![joslemmons](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/joslemmons/32/385_2.png) [@joslemmons](https://forum.getkirby.com/u/joslemmons)\
**Post date:** [June 18, 2015, 3:56pm UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/7 "2015-06-18T15:56:39Z")

</div>

Just rolled back to a previous commit before upgrading to 2.1.0 and the fields are all back. Forgive me for being ignorant, but how do I use the debugging feature?

I should put that into my config.php file, upgrade to 2.1.0 and then what? Thanks for you help @bastianallgeier!

---

<div class="post-metadata">

**Author:** ![joslemmons](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/joslemmons/32/385_2.png) [@joslemmons](https://forum.getkirby.com/u/joslemmons)\
**Post date:** [June 18, 2015, 4:08pm UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/8 "2015-06-18T16:08:33Z")

</div>

Nevermind, think I figured it out. So I visit [mystagingserver.com/debug](http://mystagingserver.com/debug) and see what it says, correct?

Here’s what I got:

```
Fatal error: Call to a member function isErrorPage() on a non-object in /home/joslemmo/public_html/staging/kirby/kirby.php on line 359

```

Same result on the live website as well, fwiw.

---

<div class="post-metadata">

**Author:** ![bastianallgeier](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/bastianallgeier/32/7569_2.png) [@bastianallgeier](https://forum.getkirby.com/u/bastianallgeier)\
**Post date:** [June 18, 2015, 4:19pm UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/9 "2015-06-18T16:19:32Z")

</div>

That’s actually not how debug works, but it’s still helpful 🙂 It looks like you are missing the error content folder. That might be causing some major issues. Try to fix that first and afterwards try adding the c::set(‘debug’, true); line to site/config/config.php

---

<div class="post-metadata">

**Author:** ![joslemmons](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/joslemmons/32/385_2.png) [@joslemmons](https://forum.getkirby.com/u/joslemmons)\
**Post date:** [June 18, 2015, 4:49pm UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/11 "2015-06-18T16:49:21Z")

</div>

Ok, did all of that… checked out the error\_log file on my staging server. It spit out some “undefined variable” errors relating to a search field on the site. Removed the offending code, checked error\_log again and now there’s nothing new happening.

BUT, the fields are still missing. What else can I do to help you out @bastianallgeier? I really appreciate your time.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [June 18, 2015, 5:52pm UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/12 "2015-06-18T17:52:09Z")

</div>

The only other thing that comes to mind is some sort of indentation problem like tabs etc. Have you tried to rebuild the blueprint file from scratch? After all it is weired that all other blueprints but this one do work.

---

<div class="post-metadata">

**Author:** ![joslemmons](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/joslemmons/32/385_2.png) [@joslemmons](https://forum.getkirby.com/u/joslemmons)\
**Post date:** [June 18, 2015, 8:31pm UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/13 "2015-06-18T20:31:55Z")

</div>

I did try rebuilding from scratch. And also just noticed that it is the blueprint for a totally different set of pages as well. So if you look at this site: [www.fivepointscolumbia.com](http://www.fivepointscolumbia.com)

It is the blueprint for these interviews:

[http://fivepointscolumbia.com/listography/sara-thomas](http://fivepointscolumbia.com/listography/sara-thomas)

And also for these individual business pages (used in three separate sections):

[http://fivepointscolumbia.com/restaurants/andys-deli](http://fivepointscolumbia.com/restaurants/andys-deli)

For now, I’m going to have to revert to the previous version of Kirby so my client can have a fully functional panel, but would like to upgrade them at some point so I can take advantage of the improvements. @bastianallgeier if you would like to peek around the files, I can give you access on the server. It is such an odd problem in that, all I did to break the blueprints was to drag over the Kirby and Panel folders from 2.1.0 into the site’s folder. That’s it.

EDIT: It is absolute magic lol, put Kirby 2.0.5 back in and all the missing fields reappear. Too weird.

---

<div class="post-metadata">

**Author:** ![ScottKbka](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/scottkbka/32/4252_2.png) [@ScottKbka](https://forum.getkirby.com/u/ScottKbka)\
**Post date:** [June 23, 2015, 2:53pm UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/14 "2015-06-23T14:53:51Z")

</div>

@joslemmons, @bastianallgeier did you find a solution to this? I think I’m having a similar problem: [panel not laoding blueprints](http://forum.getkirby.com/t/panel-not-loading-blueprints/1428?u=scottkbka)

---

<div class="post-metadata">

**Author:** ![joslemmons](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/joslemmons/32/385_2.png) [@joslemmons](https://forum.getkirby.com/u/joslemmons)\
**Post date:** [June 23, 2015, 3:21pm UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/15 "2015-06-23T15:21:38Z")

</div>

I have not @ScottKbka… just went back to old version for the time being. Needed to have it functional and needed to make some updates. Hoping a solution will surface at some point.

---

<div class="post-metadata">

**Author:** ![bastianallgeier](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/bastianallgeier/32/7569_2.png) [@bastianallgeier](https://forum.getkirby.com/u/bastianallgeier)\
**Post date:** [June 23, 2015, 6:44pm UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/16 "2015-06-23T18:44:00Z")

</div>

I’m really sorry about the issues. Could you send me the blueprints, which break? [support@getkirby.com](mailto:support@getkirby.com) I’m really not sure what’s going on there.

---

<div class="post-metadata">

**Author:** ![Jonas](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jonas/32/721_2.png) [@Jonas](https://forum.getkirby.com/u/Jonas)\
**Post date:** [July 2, 2015, 2:56pm UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/17 "2015-07-02T14:56:04Z")

</div>

Same Problem here. Reverting to 2.0.6 solves the problem.

---

<div class="post-metadata">

**Author:** ![anon77445132](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@anon77445132](https://forum.getkirby.com/u/anon77445132)\
**Post date:** [July 2, 2015, 3:12pm UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/18 "2015-07-02T15:12:05Z")

</div>

> [@texnixe](#):
>
> The only other thing that comes to mind is some sort of indentation problem like tabs etc. Have you tried to rebuild the blueprint file from scratch?

Did you check that you only use **exact two spaces** for each level of indentation and **NO** tabs?

---

<div class="post-metadata">

**Author:** ![joslemmons](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/joslemmons/32/385_2.png) [@joslemmons](https://forum.getkirby.com/u/joslemmons)\
**Post date:** [July 2, 2015, 3:43pm UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/19 "2015-07-02T15:43:04Z")

</div>

For me, it was the camel-casing of my blueprint titles that was the culprit.

So I was using **“directoryPost”** and when I changed all of those instances to **“directory-post”** , my problem was solved completely.

I had quite a few blueprints titled this way, so changing them to all lowercase and correcting all references to them allowed me to upgrade without issue.

See here: [Panel not loading Blueprints](http://forum.getkirby.com/t/panel-not-loading-blueprints/1428/9)

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [July 2, 2015, 3:54pm UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/20 "2015-07-02T15:54:27Z")

</div>

Well, my blueprints actually work fine with tabs or 4 spaces instead of 2, they just don’t work if the indentation levels are not correct.

Usually, if there is some sort of indentation error, the form is not rendered at all (error message), and sometimes some fields are missing or not rendered correctly.

Anyhow, when something goes wrong with my blueprints, I usually check the following:

- indentation
- filenames (spelling, best option is to use only lowercase letters)
- use of field types and settings
- stray text files

---

<div class="post-metadata">

**Author:** ![Jonas](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jonas/32/721_2.png) [@Jonas](https://forum.getkirby.com/u/Jonas)\
**Post date:** [July 8, 2015, 8:31am UTC](https://forum.getkirby.com/t/missing-panel-fields/1350/21 "2015-07-08T08:31:11Z")

</div>

Since the blueprints are working locally syntax seems to be correct. The problems only occur on the remote server.

[Next page](https://forum.getkirby.com/t/missing-panel-fields/1350.md?page=2)
