Think I may have found a bug with the file blueprints, causing PHP to run out of memory.
I have a files section in my page blueprint that is limited to audio files. I have a files blueprint (called audio.yml
) containing this…
title: Audio
accept: audio/mpeg, application/octet-stream, audio/mp3
columns:
- width: 1/2
sections:
content:
type: fields
fields:
title:
label: Title
type: text
artist:
label: Artist
type: text
album:
label: Album
type: text
genre:
label: Genre
type: text
year:
label: Year
type: text
composer:
label: Composer
type: text
duration:
label: Duration
type: text
track:
label: Track
type: text
cover:
label: Cover
type: files
When i pick an image for the cover field, the image picker pops up, i select one just fine but when i try to save the meta in the panel by clicking save on the orange bar, it hangs and tells me this:
Exception: Whoops\Exception\ErrorException
Allowed memory size of 2147483648 bytes exhausted (tried to allocate 1048576 bytes)
I thought It may have been something to do with the plugin i’m working on but i’ve completely removed the plugin from the site and the issue persists.
Im using Kirby 3.0.1-rc.1