Skip to content
Grav 2.1 is out: every page speaks Markdown. 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 · 953 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 complanar, 6 days ago
6 139 14 hours ago
Support · by Rick Beebe, 6 days ago
2 100 2 days ago
Support · by blu3prince, 3 days ago
0 50 3 days ago
Support · by alex, 4 days ago
2 92 3 days ago
Support · by Marcel, 2 weeks ago
1 143 4 days ago