Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

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

admin

Started by P. Fighter 8 years ago · 0 replies · 912 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 Paul Hodges, 4 weeks ago
19 485 5 days ago
Support · by Lauw, 7 days ago
2 99 7 days ago
Support · by Anna, 3 weeks ago
4 426 1 week ago
Support · by gtx, 4 weeks ago
4 377 3 weeks ago
Support · by Anna, 1 month ago
9 484 3 weeks ago