PHP Fatal error when trying to edit Posts with MFB activated
-
Hi,
I get a PHP Fatal error when trying to edit Posts in admin. It seems to be related to MFB (I’m not sure).
I deactivated the plugins one by one, and when MFB is deactivated everything is working fine again.
I installed the previous versions of MFB : same issue.
In the last weeks, I did not change any code in my theme / any settings . I just updated plugins …
Thanks for help
WordPress 6.8.2
Secure Custom Fields 6.5.7My LOG :
[29-Aug-2025 04:46:20 UTC] PHP Fatal error: Uncaught TypeError: Illegal offset type in isset or empty in /home/u000000010/domains/mywebsite.org/public_html/wp-content/plugins/secure-custom-fields/includes/api/api-helpers.php:2542
Stack trace: 0 /home/u000000010/domains/mywebsite.org/public_html/wp-content/plugins/secure-custom-fields/includes/fields/class-acf-field-select.php(660): acf_maybe_get() 1 /home/u000000010/domains/mywebsite.org/public_html/wp-content/plugins/secure-custom-fields/includes/fields/class-acf-field-select.php(636): acf_field_select->format_value_single() 2 /home/u000000010/domains/mywebsite.org/public_html/wp-includes/class-wp-hook.php(324): acf_field_select->format_value() 3 /home/u000000010/domains/mywebsite.org/public_html/wp-includes/plugin.php(256): WP_Hook->apply_filters() 4 /home/u000000010/domains/mywebsite.org/public_html/wp-content/plugins/secure-custom-fields/includes/acf-hook-functions.php(110): apply_filters_ref_array() 5 /home/u000000010/domains/mywebsite.org/public_html/wp-includes/class-wp-hook.php(324): _acf_apply_hook_variations() 6 /home/u000000010/domains/mywebsite.org/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() 7 /home/u000000010/domains/mywebsite.org/public_html/wp-content/plugins/secure-custom-fields/includes/acf-value-functions.php(191): apply_filters() 8 /home/u000000010/domains/mywebsite.org/public_html/wp-content/plugins/secure-custom-fields/includes/rest-api/class-acf-rest-api.php(242): acf_format_value() 9 /home/u000000010/domains/mywebsite.org/public_html/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(439): ACF_Rest_Api->load_fields() 10 /home/u000000010/domains/mywebsite.org/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(2098): WP_REST_Controller->add_additional_fields_to_object() 11 /home/u000000010/domains/mywebsite.org/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(655): WP_REST_Posts_Controller->prepare_item_for_response() 12 /home/u000000010/domains/mywebsite.org/public_html/wp-includes/rest-api/class-wp-rest-server.php(1292): WP_REST_Posts_Controller->get_item() 13 /home/u000000010/domains/mywebsite.org/public_html/wp-includes/rest-api/class-wp-rest-server.php(1125): WP_REST_Server->respond_to_request() 14 /home/u000000010/domains/mywebsite.org/public_html/wp-includes/rest-api.php(586): WP_REST_Server->dispatch() 15 /home/u000000010/domains/mywebsite.org/public_html/wp-includes/rest-api.php(2973): rest_do_request() 16 [internal function]: rest_preload_api_request() 17 /home/u000000010/domains/mywebsite.org/public_html/wp-includes/block-editor.php(754): array_reduce() 18 /home/u000000010/domains/mywebsite.org/public_html/wp-admin/edit-form-blocks.php(114): block_editor_rest_api_preload() 19 /home/u000000010/domains/mywebsite.org/public_html/wp-admin/post.php(187): require(‘/home/u000000010…’) 20 {main}
thrown in /home/u000000010/domains/mywebsite.org/public_html/wp-content/plugins/secure-custom-fields/includes/api/api-helpers.php on line 2542
Thanks
You must be logged in to reply to this topic.