Thread Starter
baxang
(@baxang)
I’m glad to see my suggestion made a small improvement 🙂 Thanks for the work guys!
Hi,
I had exactly the same issue and figured out that what the plugin relies on is changed by the other plugin. I’m using CCTM(http://ww.wp.xz.cn/extend/plugins/custom-content-type-manager/) and this plugin changes $where into another format which PTA cannot handle.
If you want a quick but fragile solution, open up post-type-archive.php in the plugin directory and change
add_filter(‘getarchives_where’, ‘pta_wp_get_archives_filter’, 10, 2);
to
add_filter(‘getarchives_where’, ‘pta_wp_get_archives_filter’, 9, 2);
(just change the priority from 10 to 9).