I managed to fix it. First I tried to disable plugins but that did not help.
The issue was found in functions.php.
It had a function inside that does not allow an article to be published unless it has a featured image. When I commented it out and tried deleting the articles, it started working again. Unsure as to why trashing and publishing are related in this instance, but that’s that.
Related Posts:
- Create category only for custom post type
- Reducing the use of global $post
- Custom post type: Add “Edit | Quick Edit | Trash | View” links to date (if title is not shown in column)?
- Custom post type yearly/ monthly archive permalinks
- custom post type or taxonomy
- Display custom post type with shortcode
- Restrict custom post type view by user role
- Adding meta values to permalink
- Changing the priority of a custom taxonomy’s metabox
- Adding post tags to custom post types
- How to create a mini directory in WordPress?
- Admin to user notices – best practices?
- Internationalize / translate custom post types & taxonomies
- Anyway to assign custom post types to a specific category?
- List with categories, subcategories and posts of custom posttype
- Multiple post types in archives (filter?)
- Custom post type’s slug gets wrong when adding a custom meta box
- Can’t sort order of wp_query with 2 meta keys
- How to get source of custom meta image?
- Custom Post Type archive giving 404
- Get count of custom post type created by current user
- Remove the Publish metabox for custom post type [duplicate]
- Custom Permalink with Dynamic Taxonomy for Custom Post Type – Works, but breaks other permalinks
- How can I show recent posts from same taxonomy as the post currently being viewed?
- How could I create a ‘private comments’ section on a custom post type?
- Custom post type capabilities require “create_posts” to access the edit posts list page
- count_many_users_posts except current logged in user?
- Show custom post type randomly in any page
- Custom Search for Drafts in Custom Post Type
- How to create custom post listing in the admin?
- How i can add ‘N’ page of ‘N’ pages under posts loop?
- only a certain role has access to a cpt
- Templates and meta
- What’s the difference between same wp functions get_posts(); functions in different form?
- Custom Post Type with Templates using Meta Boxes?
- Copy post from category to custum post type
- Wrong request query on cpt and tax
- Using default WP menu functionality to link to custom post-type listing?
- Permalink for a custom post type isn’t working and I don’t know why
- Cannot add category or custom taxonomy from admin. WordPress site is hosted in Windows 16 server via IIS. No XAMPP or WAMP
- How do I set default meta value by post type?
- Listing posts under primary and secondary taxonomies
- Custom post type, organized by categories
- Side effects of Script and Iframe in post
- WP Meta query for a custom post type based on two values
- Wrap custom post type – ONLY- in a div
- Removing Custom Permalink Structure for Custom Post Type
- How to import files to individual posts of a custom type
- Listing custom terms in custom post meta
- What content types are shown at a search page?
- How do I display a list showing custom post types nested within a taxonomy?
- Display posts with tag for custom post type only
- Custom post type loop with custom category filtering
- Check if user has comment on current post
- Assigning a category to a custom post type in WordPress
- Create a page by importing data from an XML file ( On clicking a button inside admin options page)
- Get admin area editor in frontend
- If meta_value of meta_key is less than today’s date update meta key
- How to list custom post types on a custom post type page?
- Shortcode to return single custom post based on post taxonomy
- Accessing a protected property of a post
- Custom post type title of each author in his own post
- Compare Two Custom Post Types Using The Same Custom Taxonomy
- Permalink Trouble with custom post types
- Require custom post type if is_admin() – template doesn’t show up?
- “Author” custom post type
- Custom Query: Multiple CPTs and a taxonomy filter
- Custom Posttype URL
- How to show the post which checkbox is not selected
- Copy data from 2 different ACF custom post types with relation
- Create post meta box that links another post
- Display custom post type taxonomy in a WordPress excerpt for current post
- How can I write slugs / permalinks as: custom post type -> custom taxonomy and custom post type -> custom taxonomy (one CPT and many taxo)?
- Orderby if between two meta fields
- pagination problem listing custom post types of taxonomy in wordpress
- How can I use a custom template to load custom post type posts based on a post_meta value
- Custom Post By Category
- Register post type getting error 404
- Change Custom Post Type to Post + Category
- Which File Populating CPTs in Slug URL
- Add tags to a “pending” post before publishing
- Fixed custom fields depending on posttype/category
- Create custom YouTube-like permalinks for multiple custom post types
- Running get_posts within get_posts to get children of children
- Grouping and paging CPT events by month with custom field date
- I want to link an author to everything from any post type that they publish on the website
- One custom post type with two different url structure base on taxonomy term
- Change a custom post type on an existing site
- Selecting which pages to display custom post type on using checkbox
- Two single.php files?
- Custom Post Type Permalink
- Average Rating per Post based on Comment Rating
- Custom Loop for custom post type. Compare by meta_value?
- Read-Only custom post type
- How to store queried custom data and use it in multiple pages?
- custom post types containing a collection of items
- How Do I Add a Custom Post Type URL to Content?
- What is the best way to relate different custom post types?
- Custom Sort Order for Custom Post Type Taxonomy
- Load posts via AJAX without draft status