[Plugin: Events Manager] conflict w/ Advanced Custom Fields: arrays getting "double-serialized&
-
Hi,
I’m using the Advanced Custom Fields plugin to add a custom field to EM’s “Event” custom post type. For single-value fields it works great, but when I add a Relationship field — or any type of field where you can select multiple values — the Edit Event admin page appears not be saving the changes.
I say “appears” because I looked at the raw data in the wordpress_postmeta table, and the data is actually intact — but it’s been serialized twice instead of once:
meta_value = s:34:”a:2:{i:0;s:3:”282″;i:1;s:3:”710″;}”;
unserialize(meta_value) = a:2:{i:0;s:3:”282″;i:1;s:3:”710″;}
unserialize(unserialize(meta_value)) = Array ( [0] => 282, [1] => 710 )Any idea what might be going on? I have no idea whether the “fault” lies with EM or ACF. I’ve cross-posted in the ACF forum as well, but if you have any insight it would be much appreciated.
Thanks in advance,
Aaron
- The topic ‘[Plugin: Events Manager] conflict w/ Advanced Custom Fields: arrays getting "double-serialized&’ is closed to new replies.