Use custom actions for admin screen meta boxes
Some plugins hook into the add_meta_boxes
action and expect a $post
object as the second parameter. They should validate that the incoming data is of type WP_Post
but some don't - notably ACF Extended. The fix for avoiding log entries from these plugins is to use custom actions for the CiviCRM admin pages. PR to follow.