I created a Custom Post Type with Types and I a custom role. I set the CPT to be managed with Access and I granted Read, Edit Own, Delete Own and Publish permissions to the custom role.
When a user within that role tries and access a custom post that he created he gets a "404 Not found" message. If remove the CPT from Access control, the user can access the post.
Any hint?
Just to add a few more details, the user can access the archive of custom posts but he cannot access single custom posts.
I also tried recreating custom post type and custom role from scratch, no luck.
Dear mirko,
The problem you mentioned above is abnormal, and I can not duplicate same problem in my localhost, please check these:
1) You are using the latest version of Types and Access plugins, you can download them here:
https://toolset.com/account/downloads/
2) Deactivate other plugins and switch to word press default theme, and test again
3) enable PHP debug mode, copy/paste the debug logs here:
https://toolset.com/documentation/user-guides/debugging-types-and-views/
PHP Debugging
In case you think that Types or Views are doing something wrong (what we call a bug), you should enable PHP error logging. Again, edit your wp-config.php file and add the following:
ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
This will produce a file called ‘error_log.txt’ in your WordPress root directory. Make sure that the web server can create and write this file. If it cannot, use an FTP program to create the file and make it writable to Apache (normally, user www-data).