Hello,
Thank you.
To debug this issue, I have enabled the PostExpirator’s – debug log.
Before update, the plugin the log files are below:
2021-09-28 14:31:06 1879 -> CATEGORIES COMPLETE Array ( [367] => Ongoing )
2021-09-28 14:31:06 1879 -> CATEGORIES REPLACED Array ( [367] => Ongoing )
2021-09-28 14:31:06 1879 -> PROCESSED category Array ( [expireType] => category [category] => Array ( [0] => 367 ) [categoryTaxonomy] => current-status )
2021-09-28 14:29:39 1879 -> SCHEDULED at Tue, 28 Sep 2021 14:31:00 +0900 (1632839460) with options Array ( [expireType] => category [id] => 1879 [category] => Array ( [0] => 367 ) [categoryTaxonomy] => current-status ) no error
Note: post id 1879 is custom post type/classic editor
After being updated to version 2.5.2:
I’m getting errors as follows in the classic editor (custom post type)
Expiration Categories:
More than 1 heirachical taxonomy detected. You must assign a default taxonomy on the settings screen.
So, I have disabled the filter to use Gutenberg editor. After disabled the classic editor, the above-said error has been disappeared. But, postexpirator does not function its work.
The debug logs are:
2021-09-28 15:03:28 2527 -> SCHEDULED at Wed, 29 Sep 2021 00:05:00 +0900 (1632873900) with options Array ( [expireType] => category [category] => [categoryTaxonomy] => ) no error
2021-09-28 14:53:37 1879 -> SCHEDULED at Tue, 28 Sep 2021 23:55:00 +0900 (1632873300) with options Array ( [expireType] => category [category] => Array ( [0] => 368 ) [categoryTaxonomy] => current-status ) no error
2021-09-28 14:53:37 1879 -> EXISTING FOUND – UNSCHEDULED – no error
2021-09-28 14:39:20 1879 -> SCHEDULED at Tue, 28 Sep 2021 23:41:00 +0900 (1632872460) with options Array ( [expireType] => category [category] => Array ( [0] => 368 ) [categoryTaxonomy] => current-status ) no error
Note:
post id 1879 is custom post type/Gutenberg editor
post id 2527 is standard post/Gutenberg editor
Thank you.