Hi Creative Slice,
Yes, I’ve been checking and this problem can occur because the scan form is saved too early and leaves no time to declare the post types in other plugins.
Please could you tell the plugin that generates these missing post types to have a reference and debug this error?
Thanks,
Pau
We’re actually calling these post types from the theme functions.php file like so:
function animal_post_type() { register_post_type( 'animals',...
add_action( 'init', 'animal_post_type');
Is there a different way we should be calling them?
You can try to anticipate the call to the function that register the post type adding the priority parameter:
add_action( ‘init’, ‘animal_post_type’, 9);
I will work for a solution in next version of this plugin to avoid losing post types.
Kind Regards,
Pau
Thank you Pau, that fixed it for our custom post types. The only one that didn’t work for was the Events post type since we’re using Pippin’s Plugins “Sugar Events Calendar” which does not add priority to actions (and therefore does not work with your plugin).
Please let me know when the next version is out and I’ll be happy to test it for you.