corcel / corcel/acf

PHP Notice after fetching acf

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

Description

I try to fetch an acf 'url' with:
`Customer::find(3271)->url;`

I get the following error:
`PHP Notice: unserialize(): Error at offset 0 of 31 bytes in /Users/mauthi/coding/Enso/vendor/corcel/acf/src/Field/BasicField.php on line 91`

Line 91 is:
`if ($array = @unserialize($value) and is_array($array)) {`

----

PHP Version: 7.4.11

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.