Support

Account

Forum Replies Created

  • This did the trick for me too! Same situation with a custom Date Picker field for events. Everything was coming back as false when I used get_sub_field() but get_post_field() got my true values to appear as they should.

  • /FACEPALM

    The troubles were stemming from the staging site having older ACF plugins for Repeater and Video and other features. Local was using ACF Pro which had been uploaded to the server, but not activated. No wonder the Flexible Content fields were causing problems.

    Thanks for your time and verifying that the code wasn’t in error. Much obliged!

  • FYI, I now have missing custom field occurring elsewhere. These are brand new fields that should not have conflicts with previous information. One field in the group shows, the second does not. <scratches head in utter bewilderment>

  • This may or may not be related as I changed an unrelated field from text to textarea, but I am now seeing an error on the backend that looks like (some of which is cut off)(also, this is on the staging site which has DEBUG turned on whereas my local does not):

    parameter 2 to be array, string given in /srv/bindings/12640c8101344cb094ab42dafce15f4e/code/wp-content/plugins/advanced-custom-fields/core/controllers/post.php on line 338 Warning: in_array() expects parameter 2 to be array, string given in /srv/bindings/12640c8101344cb094ab42dafce15f4e/code/wp-content/plugins/advanced-custom-fields/core/controllers/post.php on line 342 Warning: in_array() expects parameter 2 to be array, string given in /srv/bindings/12640c8101344cb094ab42dafce15f4e/code/wp-content/plugins/advanced-custom-fields/core/controllers/post.php on line 346 Warning: in_array() expects parameter 2 to be array, string given in /srv/bindings/12640c8101344cb094ab42dafce15f4e/code/wp-content/plugins/advanced-custom-fields/core/controllers/post.php on line 350 Warning: in_array() expects parameter 2 to be array, string given in /srv/bindings/12640c8101344cb094ab42dafce15f4e/code/wp-content/plugins/advanced-custom-fields/core/controllers/post.php on line 354 Warning: in_array() expects parameter 2 to be array, string given in /srv/bindings/12640c8101344cb094ab42dafce15f4e/code/wp-content/plugins/advanced-custom-fields/core/controllers/post.php on line 358 Warning: in_array() expects parameter 2 to be array, string given in /srv/bindings/12640c8101344cb094ab42dafce15f4e/code/wp-content/plugins/advanced-custom-fields/core/controllers/post.php on line 362 Warning: in_array() expects parameter 2 to be array, string given in /srv/bindings/12640c8101344cb094ab42dafce15f4e/code/wp-content/plugins/advanced-custom-fields/core/controllers/post.php on line 366 Warning: in_array() expects parameter 2 to be array, string given in /srv/bindings/12640c8101344cb094ab42dafce15f4e/code/wp-content/plugins/advanced-custom-fields/core/controllers/post.php on line 370 Warning: in_array() expects parameter 2 to be array, string given in /srv/bindings/12640c8101344cb094ab42dafce15f4e/code/wp-content/plugins/advanced-custom-fields/core/controllers/post.php on line 374 Warning: in_array() expects parameter 2 to be array, string given in /srv/bindings/12640c8101344cb094ab42dafce15f4e/code/wp-content/plugins/advanced-custom-fields/core/controllers/post.php on line 378 Warning: in_array() expects parameter 2 to be array, string given in /srv/bindings/12640c8101344cb094ab42dafce15f4e/code/wp-content/plugins/advanced-custom-fields/core/controllers/post.php on line 382 Warning: in_array() expects parameter 2 to be array, string given in /srv/bindings/12640c8101344cb094ab42dafce15f4e/code/wp-content/plugins/advanced-custom-fields/core/controllers/post.php on line 386 Warning: in_array() expects parameter 2 to be array, string given in /srv/bindings/12640c8101344cb094ab42dafce15f4e/code/wp-content/plugins/advanced-custom-fields/core/controllers/post.php

  • I added a character to each of the keys for the flexible content, the layouts, and the fields; and it didn’t make a difference. I changed the id of the field group; and it didn’t make a difference. I’ve searched my complete customfields.php file for possible duplicate keys and came up empty.

    Is there any additional information I could provide to help suss this out? The complete customfields.php file? The database?

Viewing 6 posts - 1 through 6 (of 6 total)