wmamber
Forum Replies Created
-
Thanks @hwk-fr !
Sounds good, thanks for looking into it.
The only plugins in mu-plugins are the Pantheon plugins, I think it basically prevents plugins from auto updating, maybe there is a conflict with Pantheon and ACF Extended? I did a search in that folder and I do not see anything related to ACF. I tried removing those and still no local files.
The only plugins in mu-plugins folder are the Pantheon plugins. I think those plugins prevents plugins from auto updating, maybe there is a conflict with Pantheon and ACF Extended? I did a search in that folder and I do not see anything related to ACF. I tried removing those and still no local files.
The only plugins in mu-plugins are the Pantheon plugins, I think it basically prevents plugins from auto updating, maybe there is a conflict with Pantheon and ACF Extended? I did a search in that folder and I do not see anything related to ACF. I tried removing those and still no local files.
I wonder if since these fields are being registered with the ACF Pro plugin if its some settings issue in that plugin?
- This reply was modified 6 months, 3 weeks ago by wmamber.
@hwk-fr Sorry for the delay, I have deactivated all plugins and switched to Twenty-Twenty Four, I copied the acfe-php/ into Twenty-Twenty Four theme, still no local files and the only ACF Fieldgroups that appear is the one I synced before updating the plugin and the new field I created. I also tried these same steps with Twenty-Twenty Two theme with same results, ACF local fields are not visible.
Yes, thanks for your patience. I didn’t build the theme so I don’t know how the generated php files were set up but I can’t find anything in functions.php or any other files where acf fields are being registered outside of the official ACF plugin files. Here is an example of an acf php file located in
/themes/my-theme/acfe-php/group_xxxxxxxx.php
<?php if( function_exists('acf_add_local_field_group') ): acf_add_local_field_group(array( 'key' => 'group_6635786b8fba4', 'title' => 'test field', 'fields' => array( array( 'key' => 'field_6635786bea480', 'label' => 'test text field', 'name' => 'test_text_field', 'aria-label' => '', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'maxlength' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', ), ), 'location' => array( array( array( 'param' => 'post_type', 'operator' => '==', 'value' => 'all', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'left', 'instruction_placement' => 'label', 'hide_on_screen' => '', 'active' => true, 'description' => '', 'show_in_rest' => 0, 'acfe_display_title' => '', 'acfe_autosync' => array( 0 => 'php', ), 'acfe_form' => 0, 'acfe_meta' => '', 'acfe_note' => '', 'modified' => 1714780278, )); endif;
When I search
acf_add_local_field_group()
I only see this function being called in the ACF Pro Plugin Files, ACF Extended plugin files and in the generated field group php files. I am not seeing in the theme where acf fields are being registered? Still confused how updating that one plugin hides the local files?I tried changing themes and deactivated all plugins except ACF Pro & ACF Extended. The fields do not show up but when I downgrade ACF Extended the fields show up again. The first screenshot shows what I see when I down grade ACF Extended to 0.8.9.5. I have synced the one field called “Post type: Notification”
This screen shot shows what happens when I update the ACF Extended plugin to 0.9.0.2, only the field I synced remains:
For more context my ACF fields are saved as php files, and the acf fields still show up on pages, but I cannot edit the ACF Fields in the dashboard.
I noticed if I sync the php acf files before I update the plugin to 0.9.0.2, then the synced fields show up after upgrade. But it’s not ideal to have to manually sync these on all the sites I manage.
Hello!
When I go into ACF Field groups it says I have 0 field groups even though I have like 30. When I revert the plugin back to the previous version the fields show up again. I do not have any php errors. This only happend after updating the Advanced Custom Fields: Extended plugin from v0.8.9.5 to v0.9.0.2.
My WordPress version is: 6.5.2ACF Pro version: 6.2.9?
Thanks for your help. The issue was a permissions thing and I was able to gain access. I will mark as resolved.