Fixed a bug that cause a fatal error when the post type folder is empty
Removed a PHP Notice