Solved, it was a problem with the custom-post-types.php I was calling the type with the name 'post_type'
changed that solved the issue.
Solved, it was a problem with the custom-post-types.php I was calling the type with the name 'post_type'
changed that solved the issue.