Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

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

admin

Started by P. Fighter 9 years ago · 0 replies · 1146 views
9 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 TomW, 2 weeks ago
8 227 9 hours ago
Support · by alex, 2 months ago
8 667 24 hours ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 159 3 days ago
Support · by TomW, 6 days ago
2 106 5 days ago