Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Suddenly when I try to upload an image, I get an error

admin

Started by P. Fighter 8 years ago · 0 replies · 1008 views
8 years ago

I get the error Undefined property: stdClass::$image when uploading an image to a page template. The image specific blueprint is here:

YAML
        header.image:
            type: file
            label: Screenshot
            limit: 1
            destination: 'self@'
            multiple: false
            style: vertical
            accept:
              - image/*

The image gets uploaded regardless of error, but the header is not updated...

When I try this on a version from midnight, it works just fine. Is there a limit somewhere on caching? It seems like the system is somehow clogged...

EDIT: It seems to be tied together with the 1.8.2 release of the Admin Plugin as 1.8.1 works fine.
Bug report: https://github.com/getgrav/grav-plugin-admin/issues/1454

last edited 05/28/18 by P. Fighter

Suggested topics

Topic Participants Replies Views Activity
Support · by webmasterodp, 1 week ago
4 153 6 days ago
Support · by nwhitfield, 1 week ago
2 134 1 week ago
Support · by stell, 3 weeks ago
5 369 2 weeks ago
Support · by gravinator, 1 month ago
5 559 2 weeks ago
Support · by Gravver, 3 weeks ago
6 347 3 weeks ago