Warning when attempting to edit/add custom post type May 25, 2022 by Tarik Billa Check your add_media_metaboxes() function. The first parameter is wrong and mostly likely just miss spelled.