Recently after updating Wordpress from 4.9.2 to 5.2, I have had to change a good bit of code to get my custom post type listings(or posts) to function and save data correctly. Specifically, with the custom meta boxes I have setup to handle my custom taxonomies(with a select drop down menu) rather than with the default check boxes.
NOTES: I can currently CREATE a new listing, UPDATE a listing, but DELETING the listing I have issues with.
When I go to my listings screen(or Listings custom post type), I try to check multiple check boxes and then click MOVE TO TRASH.
When I move to trash, it gives me the "The link you followed has expired." page. HOWEVER, when I refresh the page to go back to my listings, it appears the listing HAS been moved to the trash, but something is wrong since it shows me the "Link you followed is expired" page.
Any help would be greatly appreciated. This is being developed locally on WAMP, PHP version 7.0.1, Wordpress version 5.2.2 .
TO REVIEW MY CODE, GO TO MY GITHUB AND VIEW THE META_BOXES.PHP FILE. https://github.com/pcross1986/car-dealership