5.0.0 Breaks Post Edit Updates
-
After upgrading to 5.0.0 any page or post I try to update on my site throws a critical wordpress error on the site and can not be edited. The front-end doesn’t error, only the back-end. I had to deactivate this plugin. Seems like compatibility with ACF is not working correctly!
Here is the error:[23-May-2024 16:51:03 UTC] PHP Fatal error: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, null given in /plugins/wp-security-audit-log/classes/WPSensors/class-acf-sensor.php:457
Stack trace: 0 /plugins/wp-security-audit-log/classes/WPSensors/class-acf-sensor.php(457): array_map(‘serialize’, NULL) 1 /plugins/wp-security-audit-log/classes/WPSensors/class-acf-sensor.php(432): WSAL\WP_Sensors\ACF_Sensor::check_terms_change(Array, NULL, Object(WP_Post), ‘category’) 2 /wp-includes/class-wp-hook.php(326): WSAL\WP_Sensors\ACF_Sensor::post_terms_changed(16505, Array, Array, ‘category’) 3 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 4 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) 5/wp-includes/taxonomy.php(2949): do_action(‘set_object_term…’, 16505, Array, Array, ‘category’, false, Array) 6 wp-includes/post.php(5372): wp_set_object_terms(16505, Array, ‘category’, false) 7 /wp-includes/post.php(5424): wp_set_post_terms(16505, Array, ‘category’, false) 8 /wp-includes/post.php(4597): wp_set_post_categories(16505, Array) 9 /wp-includes/post.php(4930): wp_insert_post(Array, false, true) 10 //wp-admin/includes/post.php(453): wp_update_post(Array) 11 /wp-admin/post.php(227): edit_post() 12 {main}
- The topic ‘5.0.0 Breaks Post Edit Updates’ is closed to new replies.