Skip to content

Out of memory when extending blueprint with type:default #184

@buergi

Description

@buergi

I noticed that I was not able to open /admin/plugins/flex-objects in browser (just white page appears), the log showed error messages like the following

[27-Feb-2024 18:30:40 Europe/Berlin] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 40960 bytes) in /var/www/html/vendor/filp/whoops/src/Whoops/Util/Misc.php on line 50
[27-Feb-2024 18:31:03 Europe/Berlin] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/vendor/rockettheme/toolbox/ResourceLocator/src/UniformResourceLocator.php on line 305

Even increasing the memory_limit did not change anything. I localized the problem to be a custom addon which defined a blueprint called default.yaml with this content (I removed the unimportant part)

title: Default
'@extends':
    type:default

When I change the type to defaulx or something else everything works.
I'm actually not having any idea what I'm talking about, and what exactly is going on here, maybe I shouldn't have defined the blueprint like that. But maybe you can decide if this is a user error on my side or if there is something broken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions