Probably something dumb but I can’t get the FilePicker service to work. Can someone provide a working example that they used the Service with.
I followed the Simple Example from the documentation almost verbatim (I fixed a part where they refer to the $picker variable as $filepicker). It works as expected until I add the withValueTarget command.
Then I get: “Fatal error: Call to a member function withValueTarget() on a non-object”
I’ve tried a bunch of things to troubleshoot but I keep getting the same error, which is frustrating because there are only 4 lines of code.
Thanks in advance!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.