corcel / acf

Advanced Custom Fields (ACF) plugin for Corcel
126 stars 98 forks source link

PHP Notice after fetching acf #96

Open mauthi opened 3 years ago

mauthi commented 3 years ago

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

letsrun commented 3 years ago

We also see this.