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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

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

admin

Started by P. Fighter 8 years ago · 0 replies · 788 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 Thomas, 1 week ago
2 60 16 hours ago
Support · by Anna, 3 days ago
2 66 19 hours ago
Support · by Justin Young, 20 hours ago
1 34 20 hours ago
Support · by Duc , 1 week ago
2 70 6 days ago
Support · by Colin Hume, 1 week ago
2 61 6 days ago