corcel / corcel/acf

Server port changes when accessing Image and File type fields

Open
#107 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
132
Forks
102
PR merge metrics
No merged PRs in 30d

Description

I am testing this plugin and working fine for all field types except Image and File. When I try to access those field, the port of laravel server changes.
I am trying to access as below:
```
$page = Corcel\Model\Page::find(2);
return $page->acf->image_1;
OR
return $page->acf->custom_file;
```
The same works for others including the repeater. Anything I am doing wrong?
Image for reference: https://i.imgur.com/NZxE6JQ.png

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.